Java is object oriented internet Programming Language. Java is a class based , Object oriented Programming Language. Java Application are compiled in Bytecode which can run on Java Virtual Machine (JVM).
Java was developed by James Gosling at Sun Microsystem in 1995.
Its basic features are :
- Platform Independent
Ex: Write a Program to print Hello World:
public static void main(String args)
There are Two Types of Member in class:
- Class memeber
- Instance memeber
Class Member: Class member represents class attributes and behaviour of whole class.
Instance Memeber: Instance member represents attributes and behanviour of individual objects.
In Java objects are creted by dynamic way that is using new keyword.
Ex: new classname();