What is Java? History of java

What is Java?

Java is a high-level, class-based, object-oriented popular programming language.Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1995.Now owner of Java is Oracle Corporation .

History of java :

James Gosling is known as the father of Java. Java was developed in 1995. James Gosling, Mike Sheridan, and Patrick Naughton started the Java Language Project in June 1991. The Java language was primarily called “Oak”. One day they were chatting in a coffee shop, when they saw the cup of coffee and decided to create a logo matching the smoky cup of coffee and change its name to “Java”.In 1995, Sun Microsystems released Java-1.0. Their principle was “Write Once, Run Anywhere or WORA”.

Why we have to learn java?

  1. Pay matters. Java programmers get more salary than other programmers.
  2. Java runs on about 15 M devises around the world.
  3. Usually java is used for developing important and real world application.
  4. Java is not technology that it go away soon.
  5. The source code of java is very easy and readable.
  6. Java has many APIs which is very stable.
  7. It is a open source programming language.Any one can read it.
  8. Java is object oriented programming language.

Advantage of java

  • Java is platform independent.Their principle was “Write Once, Run Anywhere or WORA”.So we can use java code in any platform like Windows,Linax,Mac.
  • The performance o java very high.
  • It is a object oriented programming language.
  • Java has strong road map.

How java works

Execution steps

For execution , first java code is written in a text editor or a IDE . then it is saved by .java file extension. Then it is read by Java Compiler (Javac).Java compiler produce byte code with .class extension.Which is not readable for human. The it is interpreted by Java Virtual Machine (JVM). JVM produce the final output.

Javac : It is java compiler. It is used for generate byte code from source code.

JVM : Java virtual machine . It is used for read byte code for execution and generate final output . JVM is different in other many plat from.

JIT : Just in time compiler . It is a part of JVM.It helps JVM to process byte code.

Leave a Reply

Your email address will not be published.