Primitive Vs Reference type

For primitive types; char, byte, short, int, long, float, double and boolean, ALWAYS use “==” (double equal) operator to compare for equality, this does not go against common sense, in fact, this is the probably the default thinking of many programmers — I hope by now you’ve gotten over the “=” as a way to [...]

Variable declarations and Pass by value

Variables are declared using this structure. [access keywords] [special keywords] Type varname;, and they are initialized using this structure varname = initial value;. It is common to see the declaration and initialization on the same line, thus giving us this structure [access keywords][special keywords] Type varname = initial value;