Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Re: Questions a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 789 of 816
Post > Topic >>

Re: Questions about Java VM spec

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
 




 5 Posts in Topic:
Questions about Java VM spec
Joshua Cranmer <Pidgeo  2007-09-20 01:01:54 
Re: Questions about Java VM spec
Roedy Green <see_websi  2007-09-20 06:52:02 
Re: Questions about Java VM spec
Joshua Cranmer <Pidgeo  2007-09-21 01:48:32 
Re: Questions about Java VM spec
Roedy Green <see_websi  2007-09-21 02:38:51 
Re: Questions about Java VM spec
Roedy Green <see_websi  2007-09-20 06:52:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 23:11:01 CDT 2008.