#11 | Java Beginners Tutorial in Tamil | Types Of Variables | local | Static | Instance

Java

Video is ready, Click Here to View ×


Java Beginners Tutorial in Tamil | Part-11 | Types Of Variables | local | Static | Instance

E-mail : santratechspot@gmail.com

Types of Variables
There are three types of variables in java:

local variable
instance variable
static variable

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…

Leave a Reply

Your email address will not be published. Required fields are marked *