Earlier we said that Java is an object-oriented language, the basic components of Java programs are classes, classes and properties, methods two parts, each application will have a Mian function, containing the main () method of the class, we call the main class
Package Test; Package Name Packages Package
Public represents the modifier, which is the scope of the class
Static means that any variable or code in the program is automatically allocated by the system at compile time to store the memory, while the so-called static means that the memory allocated after compilation will persist until the program exits the memory and the memory will be released as long as the program is running. (Know about it, after careful analysis)
public class chb{//Just Class
public static void Main (string[] a) {//This is a Main method {method means start
System.out.printIn ("How are You?") ");
}//} end
Note: Java is both English characters, case-sensitive, named filenames and class names capitalized
Java Basics explained in-----Java structure