by Roedy Green <see_website@[EMAIL PROTECTED]
>
Sep 20, 2007 at 06:52 AM
On Thu, 20 Sep 2007 01:01:54 GMT, Joshua Cranmer
<Pidgeot18@[EMAIL PROTECTED]
> wrote, quoted or indirectly quoted someone who
said :
>3. What is the difference in purpose between invokevirtual and
>invokeinterface ?
One is used to invoke when you have a reference to an object. The
other is when you have a reference to an interface.
With an object reference the offset of the method in the class is
known. With an interface it may vary depending on which class is
implementing the interface.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com