aspose file tools*
The moose likes Java in General and the fly likes Static binding question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Static binding question

Oceana Wickramasinghe
Ranch Hand

Joined: Mar 02, 2011
Posts: 77
I took this example from the study guide titled "java 6 and j2ee 1.5 Black Book"



The book states that since the method signatures are identical, the compiler fails to bind the methods to their definitions, and it is done at run time. But the problem is that these methods are declared static. To the best of my knowledge static methods are bound at compile time. Which one is right?
John Jai
Bartender

Joined: May 31, 2011
Posts: 1776
Compile time in my opinion.
Try
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3371
    
    9
Let's continue here: http://www.coderanch.com/t/561723/java/java/Static-binding
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Static binding question
 
Similar Threads
abstract class instantiation
finding closest point
Static binding question
== primitive
how the program works?