2013년 8월 6일 화요일

Lesson: A Closer Look at the "Hello World!" Application


http://docs.oracle.com/javase/tutorial/getStarted/application/index.html )






public class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}






The Java language support three kinds of commnets:

/* text */

/** documentation */

// text






Every application begins with a class definition.

Every application must contain a main method whose signature is:

      public static void main(String[] args)






댓글 없음:

댓글 쓰기