How does JVM know class of an object at runtime

Posted by Praveen on Stack Overflow See other posts from Stack Overflow or by Praveen
Published on 2010-04-27T17:43:40Z Indexed on 2010/04/27 18:33 UTC
Read the original article Hit count: 376

Filed under:
|

Hi All, 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.

© Stack Overflow or respective owner

Related posts about java

Related posts about jvm