Core Java Concept Drive 1
Introduction:
What is Java?
Java is an object-oriented, cross platform, Multi purpose programming language produced by Sun Micro systems First released
in 1995, it was developed to be a machine independent web technology. It was
based on C and C++ syntax to make it easy for programmers from those
communities to learn.
Platform independence - Many languages are compatible with only one platform.
Java was specifically designed so that it would run on any computer, regardless
if it was running Windows, Linux, Mac, Unix or any of the other operating
systems.
Simple and easy to use - Java's creators tried to design it so code could be
written efficiently and easily.
Major release versions of Java, along
with their release dates:
JDK 1.0 (January 21,
1996)
JDK 1.1 (February 19,
1997)
J2SE 1.2 (December 8,
1998)
J2SE 1.3 (May 8,
2000)
J2SE 1.4 (February 6,
2002)
J2SE 5.0 (September
30, 2004)
Java SE 6 (December
11, 2006)
Java SE 7 (July 28,
2011) <=Latest
Platform independent ("Write Once,
Run Anywhere")
àIn other languages, the source code (code that is
written by the programmer), is compiled by a compiler into an executable file.
This file is in machine language, and is intended for a single operating
system/processor combination, so the programmer would have to re-compile the
program separately for each new operating system/processor combination.
àBut Java is different in
that it does not compile the code directly into machine language code.
Compilation creates bytecode out of the source code.
àWhen the code is run by the user, it is processed by
something called the Java Virtual Machine (JVM). The JVM is essentially an
interpreter for the bytecode. It goes through the bytecode and runs it. There
are different versions of the JVM that are compatible with each OS and can run
the same code.
Very useful post for java beginner.
ReplyDeleteandroid application development