java varibles code example
Example 1: java variable declaration
java decleration
float simpleInterest; //Declaring float variable
Example 2: java variables
/*
## Variable
- Container which holds the value while the Java program is executed.
- Assigned with a data type.
- Name of memory location.
## There are three types of variables in java:
1) Local variable
2) Static (or class) variable
3) Instance variable
*/