표준입력 (stdin)
실행옵션 (runtime option)
코드:
실행 »
표준입력/실행옵션
import java.util.*; public class prog { public static void main(String[] args) { Calendar time = Calendar.getInstance(); System.out.println(time.getTime()); time.add(Calendar.SECOND, 120); System.out.println(time.getTime()); } }