코딩/JAVA
JAVA 5. 명령프롬프트로 컴파일
가비딩
2022. 7. 24. 18:47
public class Test05 {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("이름 : " +args[0]);
int age = 2022 - Integer.parseInt(args[1]);
System.out.println("나이 : " +age);
}
}
javac Test05
