wood burning stoves 2.0*
The moose likes Certification Results and the fly likes statically bound & dynamically bound means?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Certification Results
Bookmark "statically bound & dynamically bound means??" Watch "statically bound & dynamically bound means??" New topic
Author

statically bound & dynamically bound means??

Harvinder Singh
Ranch Hand

Joined: Feb 14, 2003
Posts: 90
Hi,
In one of the study notes I found on the net I found these lines which
I am not able to understand.
What does statically bound and dynamically bound means?
* Private method calls are statically bound ... a method will call
the private method in the class where it is defined .. even if the
calling method is inherited by a derived class and the derived
class defines a method with the same signature as the private method.
* Calls to public and protected methods in the same class are dynamically
bound ... even for constructors (and from private methods). This is
different to C++.


Hard work beats talent<br />when talent doesn't work hard.<p> - Tim Notke
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: statically bound & dynamically bound means??