Introduction to Java

Introduction to Java


Java is an object-oriented multi-purpose programming language produced by Sun Microsystems. It was later acquired by Oracle Corporation.There is one thing which distinguishes Java from some other languages is its ability to run the same compiled code across multiple operating systems. This is the important feature in Java.

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. Java is different in that it does not compile the code directly into machine language code. Compilation creates bytecode out of the source code.
Java


The heart of the Java platform is the concept of a "virtual machine" that executes Java bytecode programs. This bytecode is the same no matter what hardware or operating system the program is running under. There is a JIT (Just In Time) compiler within the Java Virtual Machine or JVM. The JIT compiler translates the Java bytecode into native processor instructions at run-time and caches the native code in memory during execution.

Although Java programs are cross-platform or platform independent, the code of the Java Virtual Machines (JVM) that execute these programs is not. Every supported operating platform has its own JVM.

1 comments:

I’m not that much of a internet reader to be honest but your blogs really nice, keep it up! I'll go ahead and bookmark your website to come back later. Cheers capital one card login in


EmoticonEmoticon