VertitimeX Technologies

Java Variables.

  • A variable in Java, is a container which holds the value while the Java program is executed. A variable is having a data type.
  • Variable is a name of memory location.
  • There are three types of variables in java: local, instance and static. There are two types of data types in Java: primitive and non-primitive.