GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  OOPS

 Print  |  
Question:   What is the difference between "overloading" and "overridding"?



July 07, 2005 01:49:18 #2
 Girish   Member Since: Visitor    Total Comments: N/A 

RE: What is the difference between "overloading" and "overridding"?
 
In overloading you are extending the definition . 
ie if you over load a operator " + " whith a object then  
them + can be used to perform the basic additoin and defintion given at the time of operator overload . 
 
The overriding which used in Inheretence . ie if you want to change the definition .
     

 

Back To Question