Friday, November 17, 2006 11:31 AM
Early & Late Binding
I have often been asked the difference between Early & Late Binding by a lot of my students. Here comes the answer.
Binding is the act of associating an instance of a class with its member. If this happens at compile time, i.e., if the compiler can determine this at compilation time, we call it early binding. Example: Constructor Overloading
Late binding refers to the act of binding an object of a class with its member at runtime. This binding can only be determined by the compiler at execution or runtime. This is however comparitively slower than the former. Example: Virtual Methods.
An industry experience of over 10 years. Worked extensibly in Microsoft Technologies. Working in .Net and C# for over 5 years. Skills include,
I am currently working as a Technical Architect in a reputed MNC in Hyderabad, India. I have authored a lot of articles on .NET and its related technologies at ASPALLIANCE, DEVX, ASPNETPRO, CODERSOURCE, SQL-SERVER-PERFORMANCE.COM, SSWUG, etc.
Mail ID: email@example.com
I blog at: http://aspadvice.com/blogs/joydip/