Variable: 4 types: static variables, instance variables, method parameters and local variables.
1: should declare with static word
Object: object is the instance of class.
- Instance means allocating memory space for instance variables.
- Wherever we create object then memory will allocate for instance variables.
Characteristics of an Object:
- 1. State Variable
- 2. Behaviour Method
- 3. Identity Object name or reference variable.
Create object:
Class name object name = new classname();


