aspose file tools*
The moose likes Java in General and the fly likes how dynamic binding works ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how dynamic binding works ?" Watch "how dynamic binding works ?" New topic
Author

how dynamic binding works ?

naveen yadav
Ranch Hand

Joined: Oct 23, 2011
Posts: 384


i want to explore more of how dynamic binding works at byte code level. like

how symbolic references are resolved ?

what is invokevirtual ?







Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

naveen yadav wrote:
i want to explore more of how dynamic binding works at byte code level. like

how symbolic references are resolved ?

That question is too vague to answer with other than, "As the JVM spec says the must be, and anything not specified is left up to the implementation."

what is invokevirtual ?

what is invokevirtual







naveen yadav
Ranch Hand

Joined: Oct 23, 2011
Posts: 384


do static binding exists in java or All method call binding happens through the dynamic binding ?
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

naveen yadav wrote:
do static binding exists in java or All method call binding happens through the dynamic binding ?


The only methods that are dynamically bound are those that are non-private, non-final, and non-static.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how dynamic binding works ?