aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes concept of early binding and late binding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "concept of early binding and late binding" Watch "concept of early binding and late binding" New topic
Author

concept of early binding and late binding

dipak c
Greenhorn

Joined: May 18, 2001
Posts: 3
hello everyone

i have daught in concept of early binding and late binding.What is it use in object oriented programing?
what early binding does ?
what late binding does ?
What concept does object oriented programing uses ?

dipak c
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Depak,
I assume you meant to say: doubt about binding. The concept relates to polymorphism.
Static (Early) Binding:
Traditional method of compiler determining the exact method to call. The binding depends on the object variable alone.
Dynamic (Late) Binding:
Object oriented approach to determining the method to call at run-time. The compiler places code so that the run-time environment will be able to determine the exact method to call. The binding depends on the type of the object.
Regards,
Manfred
tvs sundaram
Ranch Hand

Joined: Jan 28, 2001
Posts: 153
Early binding:
Compiler does this binding..
(eg.,)
class variables, Static methods, static Variables ar involved in this.
Late Binding:
Done by JVM
(eg.,)
instance methods mainly, and determining class of a particular operation at run time

-----------------------------------------------------------------
if(correct)
{
leave it;
}
else
{
please correct me;
}
-----------------------------------------------------------------
regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: concept of early binding and late binding