title: How does JVM know class of an object at runtime
body: <p>How does jvm know what class an object is an instance of at runtime. I know we can use the getClass method to get the class name but how does the getClass method work?
  Thx,
  Praveen.</p>