- Java is a Object Oriented Programming Language.
- Java available under General Public License.
- JVM which is used to execute program like a real machine.
- There is two ways to run java program first Java Runtime Environment and Java Development Kit .
- Java is a platform independent so you can run java in any platform ex Windows, Linux...
- Java program contains all elements as Object except Primitive Data Types.
- Java use Garbage collection to remove unused object memory allocation.
Class HelloWorld {
public static void main(String []args){
System.out.println("Welcome to HelloWorld");
}
}
Output
Welcome to HelloWorld