Java is an object oriented programming laguage with built-in APIs that can handle graphics and user interfaces. Java provides platform independent, a java programme can be run on any platform without any change e.g. Windows, Macintosh.
In java a term JVM (Java Virtual Machine) is used to run applications on multiple platforms. JVM plays central role in this concept. JVM is implemented on top of hardware and operating system. when source code is compiled and translated into byte code and then placed into (.class) files. JVM executes these byte codes.
Java can be used in development of windows, mobile and internet application.
Data Types in Java
- int -> A 32 bit integer value.
- short -> A 16 bit integer value.
- long -> A 64 bit integer value.
- byte -> A 8 bit integer value.
- float -> A 32 bit floating point value.
- double -> A 64 bit floating point value.
- char -> A 16 bit character.
- boolean -> A true or false value.
Operators
There are following operators used in java.
Arithmatic Operator
Conditional Operator
Logical Operator
Continue...