Instructor
Muhammad Aslam Khan Waqar
YouTube Chanell
Programmingvillage
Series
Java Programming Tutorials for absolute beginners
Java Tutorial for beginners: tutorial 3- variables in java
Variable:
Variable is a name of memory location
Types of java Variables
There are three types of variables in java
Local Variable
Instance Variable
Static variable
Local Variable
A variable which is declared inside the block(method, loop) is called local
variable.
Instance Variable
A varibale which belong to an instance(object) of class is called instance
variable.
Static variable
static variable are not local.they are global and belong to class.
For example main method is static .it is class method not method of
any object.
On this page of the site you can watch the video online Java Tutorial for beginners: tutorial 3- variables in java with a duration of hours minute second in good quality, which was uploaded by the user The Laptop Man 15 March 2017, share the link with friends and acquaintances, this video has already been watched 24 times on youtube and it was liked by 1 viewers. Enjoy your viewing!