This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Call getClass() on any object to retrieve its runtime Class, revealing the actual type of polymorphic references.
You've completed the free preview. Subscribe to unlock every lesson in every course.