When using == to compare reference variables, the compiler will verify that the classes are the same or in the same inheritance hierarchy, otherwise it'll throw a compiler error
can you guys provide example(s) of this statement? specially when the compiler might throw a compilation error...