History of Java, Versions, Releases, principles
Every system or computer uses and relys on Java to work most of the software's properly. Java has evolved by James Gosling, King of programming Java at Sun Micro systems which is now acquired by Oracle Corporation.Initially James Gosling and his team has started developing Java in 1991 and was named earlier as "Oak" tree which is in front of his office. Later named as Green, but finally called as Java.
Made it first available public implementation in 1995 version 1.0 which is platform independent. "Write Once, Run Anywhere".
Java introduces automatic garbage collection implementation to free unused objects and maintain memory utilization sufficiently. Once object has no references or unreachable memory than object becomes eligible for automatic garbage collection. This is low priority thread.
Principles :
1. simple, object-oriented and familiar
2. robust and secure
3. architecture-neutral and portable
4. high performance and optimized
5. interpreted, threaded, and dynamic
Versions :
Java has several releases in later on years.
1. JDK 1.0 (January 21, 1996)
2. JDK 1.1 (February 19, 1997)
3. J2SE 1.2 (December 8, 1998)
4. J2SE 1.3 (May 8, 2000)
5. J2SE 1.4 (February 6, 2002)
6. J2SE 5.0 (September 30, 2004)
7. Java SE 6 (December 11, 2006)
8. Java SE 7 (July 28, 2011)
9. Java SE 8 (March 18, 2014)
In Java, We have several technologies as Servlets, JSP, JDBC, Struts, JSF, Spring and Hibernate to develop dynamic user and application interactive web applications as well products.
Basic Hello World example program in Java:
package com.java.w3schools.core;
public class HelloWorldExample {
public static void main(String[] args) {
System.out.println("Hello World !!!");
}
}
System.out.println is to print information on console. This can be used in debugging to trace out the issues or fixes and preferred in project development phase.
No comments:
Post a Comment
Please do not add any spam links in the comments section.