Variables in Java
Variables in Java
In this tutorial we will see about what is variable? how to declare variable ? why i use variable in the program.So let's get start.
What is variable?
A variable is container which contains the value while the java program is executed.A variable is assigned with a datatype.Variable is name of memory location.
There are tree types of variable.
There are tree types of variable.
- Instance
- Static
- Local
Comments
Post a Comment