In this article, what are Java variables and program of variables? are explained in detail with the examples. In a particular class of a java program,we can have three types of java variables.
- Instance Variables.
- Class Variables.
- Local Variables.
Symbol
|
Description
|
Example
|
<
|
Less than
|
a<b
|
>
|
Greater than
|
a>b
|
<=
|
Less than or equal to
|
a<=b
|
>=
|
Greater than or equal to
|
a>=b
|
==
|
Equal to
|
a==b
|
!=
|
Not equal to
|
a!=b
|