INTRODUCTION To Java
INTRODUCTION To Java
Java byte code helps in making the program “write once, run
anywhere”. The program can be compiled into byte code by
any platform that is having the java compiler; the compiled java
byte code program is ready to run on any machine having the
java virtual machine (JVM). JVM is an interpreter for byte
code.
NEED OF JAVA
The main motive for developing java was to meet the need of
portable and platform independent language that could be
used to produce code that would run on a variety of systems.
Java and C
Java does not include keywords like goto, size of and type
def. Java does not contain data types like structure, union and
enum. Java does not define the type modifiers keywords like
auto, register, signed. Java does not support an explicit
pointer type. Java does not have preprocessor. Java does
not support variables arguments to functions. Java adds many
features required for Object-Oriented Programming.