Variables and Datatypes in JAVA
Variable :- V ariables are just a name given to a particular memory location, where it can store the data. Variables are just like label which points to a memory location. This memory location is used to hold the data or store the data. Examples:- int num; char mchar; float denum; boolean tf_result; Here in the above examples, num, mchar, denum, tf_result represents the name of the variables. and int, char, float, boolean defines the type of dat...