Java Beginners Tutorial in Tamil | Part-11 | Types Of Variables | local | Static | Instance
E-mail : firstname.lastname@example.org
Types of Variables
There are three types of variables in java:
1) Local Variable
A variable declared inside the body of the method is called local variable. You can use this variable only within that method and the other methods in the class aren’t even aware that the variable exists.
A local variable cannot be…