Friday, October 17, 2014

Introduction To Java


Founders Of Java : James Gosling, Mike Sheridan, and Patrick Naughton
Year : 1991

The Whole team who are developing this awesome programming Language was known as Green Team.  First it was Called as Greentalk with a extension .gt but then  Changed to Oak.

In Many OnCampus or Off Campus Placement Interviews a common question occur i.e. Why Java not Oak and Why Logo of a Coffee Cup with Steam ?

So we will Clear All the Doubt by Here itself. First Why Oak ?


Oak is a symbol of strength and choosen as a national tree of many countries like U.S.A., France, Germany, Romania etc.  In 1995, Oak was renamed as "Java" because it was already a trademark by Oak Technologies.

According to Some Expert, The Whole Green Team consume more than 20 cup of Coffee that time and the Coffee Bean which was used is from the island Java So thats the Reason For the Programming Language Name Java.

If We Talk about Logo of The Java first of all the Coffee Cup is Clear but what about Steam. Actually Steam indicate Growth, Prosperity and that's why they choose coffee cup with a Steam.

There are many java versions that has been released.
  1. JDK Alpha and Beta (1995)
  2. JDK 1.0 (23rd Jan, 1996)
  3. JDK 1.1 (19th Feb, 1997)
  4. J2SE 1.2 (8th Dec, 1998)
  5. J2SE 1.3 (8th May, 2000)
  6. J2SE 1.4 (6th Feb, 2002)
  7. J2SE 5.0 (30th Sep, 2004)
  8. Java SE 6 (11th Dec, 2006)
  9. Java SE 7 (28th July, 2011)
  10. Java SE 8 (2014)

 Java Features :

  • Java is Simple
  • Java is Fully Object Oriented Programming Language
  • Java is Platform Dependent
  • Java is Secure (Due to Sandbox Model)
  • High Performance Due to Just-in-Time Compiler
  • Java is Multi-threaded
  • Java is Dynamically Linked
  •  Garbage Collection Service

Jave Needs a Interpreter to Read its Compiled Code and that is Done By JVM i.e Java Virtual Machine.

What is Java Virtual Machine ?

The Java Virtual machine (JVM) is the virtual machine that run the Java bytecodes. The JVM doesn't understand Java typo, that's why you compile your *.java files to obtain *.class files that contain the bytecodes understandable by the JVM. It's also the entity that allows Java to be a "portable language" (write once, run anywhere). Indeed there are specific implementations of the JVM for different systems (Windows, Linux, MacOS,etc.), the aim is that with the same bytecodes they all give the same results.
Read More

What Just In Time Compiler Do ?

A JIT compiler runs after the program has started and compiles the code (usually bytecode or some kind of VM instructions) on the fly (or just-in-time, as it's called) into a form that's usually faster, typically the host CPU's native instruction set. A JIT has access to dynamic runtime information whereas a standard compiler doesn't and can make better optimizations like inlining functions that are used frequently.
This is in contrast to a traditional compiler that compiles all the code to machine language before the program is first run.
To paraphrase, conventional compilers build the whole program as an EXE file BEFORE the first time you run it. For newer style programs, an assembly is generated with pseudocode (p-code). Only AFTER you execute the program on the OS (e.g., by double-clicking on its icon) will the (JIT) compiler kick in and generate machine code (m-code) that the Intel-based processor or whatever will understand.
Read More



This is the Introduction Of Java and In Our Next Tutorial You'll Learn How to Make Your First Java Program


NEXT Page (Hello World Example)




For Further Reading,
JAVA

0 comments:

Post a Comment