Browsed by
Author: Rahul Anand

Instance variables and Class variables (static variables) in Java

Instance variables and Class variables (static variables) in Java

Java variables as Instance Variables and Class Variables are widely used in programs.¬†We all know that variables has its own importance in java. In fact any programming language, a very important idea to understand right from the are variables. A variable is essentially a value that has a name attached to it. The value of a variable can generally be changed during the program, and the current value of the variable at any point is referred to via the variable’s name.

Read More Read More