The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Interface implementation in JVM

Posted by amit Gadkari on February 05, 2001 at 5:46 AM

Hi,

I have read your book Inside Java virtual machine.
This is very good book and I like it very much.

But it does not explain clearly about interface implementation.
It does not even deal with interface table which contents,
all interface implemented by that class including super class
interfaces and and offset for each interface, which contain method 1 of that interface and its offset in method table of that class.

Please try to elobrate these concepts.
Also please let me know where additional information about implementation of sun's jvm will be found documentation and not soucre code.

If possible you please try to explain animal. dog and cat example with interface implemntation and how it works internally.

Is instance of reflection class created on heap for interface.

How reflection class java.lang.reflect Class is linked with method table of given class and that of method table of java.lang.reflect class

I will be very grateful to you if you can explain these concepts.




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us