HELP WITH getClass() method
Consider this class:
what is the difference between using getClass() and using MyClass.class,
I heard somewhere that getClass() can cause unexpected behaviour when a class extends MyClass but why would that happen ?
what is the difference between using getClass() and using MyClass.class,
I heard somewhere that getClass() can cause unexpected behaviour when a class extends MyClass but why would that happen ?

