Basics That You Must KNOW Part II
-----------------------------------------------------------------------
-----------------------------------------------------------------------
Program.java [file Name]
________________________________________________________________________
import java.lang.*; // Optional to Import
class Program{
public static void main(String a[]){
System.out.println("Hello Java");
}
}
1: You must aware of all keywords used for main method
2: What is System?
3: What is out?
4: What is print() & println() and this method belongs which class?
5: What is Command Line Input?
6: What is import and why we use and java.lang(optional)?
Comments
Post a Comment