Variable in Java
type :- Where type is the data type that can be stored in variable.
name : - Where name is the given by user to the variable.
Types of Variable :
There are three types of variables in Java that is...
1) What is Local Variable
A Local variables is declare inside the method or block or constructor is called local variable.
2) What is Instance Variable
Instance Variable declared inside the class but outside the method.
3) What is Static variable
Next TopicData Types in Java