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 [...]

Java constructors

Constructors are special method — Let me take that back, they are not methods, they are constructors, they just look a bit like methods.