Beruflich Dokumente
Kultur Dokumente
JAVA
Example 1.1
//This program prints Welcome to Java!
public class Welcome {
public static void main(String[] args) {
System.out.println("Welcome to Java!");
}
}
Result
}
TMK 3102-Chap 1: Introduction to 35
JAVA
Questions
List the anatomy of JAVA program.
Give example of JAVA keywords.
What is the meaning of modifiers?
Give example of modifiers.