Hi Guys,
I’m going to talk about Java Programming Language briefly
from the basic.
If you guys interested on Java you may refer this articles and
you may ask questions regarding this article to improve my knowledge on Java.
Java is a high-level Object Oriented programming language
originally developed by Sun Microsystems and released in 1995.
Java runs on a variety of
platforms, such as Windows, Mac OS, and the various versions of UNIX.
Because Java
is platform independent programming language.
What is platform independence?
Java solves the problem of platform-independence by using
byte code.
The Java compiler does not produce native executable code for
a particular machine like a C compiler would.
Instead it produces a
special format called byte code. Java byte
code written in hexadecimal, byte by byte, looks like the below:
CA FE BA BE 00 03 00 2D 00 3E 08 00 3B 08 00 01 08 00 20 08
CA FE BA BE 00 03 00 2D 00 3E 08 00 3B 08 00 01 08 00 20 08
This looks a lot like machine language, but unlike machine
language Java byte code is exactly the same on every platform.
So the
same byte code from all OS makes Java as platform independence
vaalzka valamudan!
ReplyDelete