Java is a programming language initialized by James Gosling in 1995 and developed by Sun Micro system.
About Java
About Java
- Java is a Object Oriented Programming Language. In this real world everything consumed as Object Oriented so it is easy to extend from one object to another.
- We don't worry about platform depended because java is a platform independent language unlike c, c++. Java virtual machine handling platform independent problem.
- Java is very easy to understand, easy to use and easy to modify.
- Java provide best security using encryption which name is public key encryption.
- java is a Robust, Portable, Multithreaded, Interpreted,High Performance,Distributed and Dynamic programming Language.
public class ExampleProgram { /* This is my first java program. * This will print 'Hello World' as the output */ public static void main(String []args) { System.out.println("Hello World"); // prints Hello World } }
Output:
C : > javac ExampleProgram.java
C : > java ExampleProgram
Hello World