Variables

Variables in Java are strongly typed. This means that if a variable is declared as an ‘int’, you cannot assign the value 3.14 to that variable. Doing so will give you a type mismatch. Therefore, when you have an assignment statement, the final result of the right-side must match the declared type of the variable … ................
................