Skip to content

Commit

Permalink
11.2. 입력과 출력 - 표준입력
Browse files Browse the repository at this point in the history
  • Loading branch information
egoing committed Oct 1, 2019
1 parent 6ee9663 commit acd5d4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Programming/OkJavaGoInHomeInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@

public class OkJavaGoInHomeInput {

// paramter, 매개변수
public static void main(String[] args) {

String id = JOptionPane.showInputDialog("Enter a ID");
String bright = JOptionPane.showInputDialog("Enter a Bright level");
String id = args[0];
String bright = args[1];

// Elevator call
Elevator myElevator = new Elevator(id);
Expand Down

0 comments on commit acd5d4c

Please sign in to comment.