Core Java - SPLessons

Chapter 1

Java Tutorial

Java Tutorial

SPlesson Java Tutorial will guide and explains each any every concept in Java, to learn Java user do not need to have knowledge of other languages, without knowing other languages it is simple to learn without any confusion.

What is Java?

Initially Java is called as OAK, in the 1995 it is renamed as Java, as part of Java some modules are there like Core Java is utilized to develop stand alone applications and it will be in the form of two tier architecture. Advanced Java is utilized to develop the web applications by using Servlets, JSP and it will be in the form of three tier architecture. The Java enterprise edition is utilized to develop distributed applications and it will be in the form of the entire architecture. As part of Java JME (Java mobile edition) is utilized to develop mobile applications.

History of Java

The small team of engineers, known as Green Team( James Gosling, Mike Sheridan and Patrick Naughton), initiated the language in 1991. Java was originally called OAK, and was designed for handheld devices and set-top boxes. Oak was unsuccessful.So in 1995, Sun changed the name to Java.Later in 2009, Oracle Corporation acquired Sun Microsystems and took ownership of two key Sun software assets Java and Solaris.

Class Splessons{
public static void main(String args[]){
System.out.println("Stop thinking Start coding");


Stop thinking Start coding

Java Versions

Name Date
JDK Alpha and Beta 1995
JDK 1.0 23rd Jan 1996
JDK 1.1 19th Feb 1997
J2SE 1.2 8th Dec 1998
J2SE 1.3 8th May 2000
J2SE 1.4 6th Feb 2002
J2SE 5.0 30th Sep 2004
Java SE 6 11th Dec 2006
Java SE 7 28th July 2011
Java SE 8 18th March 2014

Java Releases

1. Java Standard Edition: It is the Standard Edition for the Core Java application.
Eg: Calculator.
2. Java Enterprise Edition: It is the Enterprise Edition for the Enterprise application/Web application.
Eg: Gmail
3. Java Micro Edition:It is Micro Edition for Mobile application.
Eg: Android 

Java Components

Main 2 java components are Compiler and Interpreter.These are also called as Translators.

Compiler is a computer program that transforms source code written in programming language into another computer language(target language often having binary form called object code).

Translates high level language—>low level language.

An Interpreter translates high level instructions into an intermediate form,which it then executes.(It interprets code line by line).


  • Java Tutorial – Java is just a name, it does not have any acronym.
  • Java Tutorial – JVM stands for Java virtual machine to compile the code successfully.
  • Java Tutorial – Java class file will have byte code instructions.