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:   Difference: 'uses', 'extends', 'includes'



January 01, 2006 18:23:29 #1
 Nitin Gupta   Member Since: Visitor    Total Comments: N/A 

RE: Difference: 'uses', 'extends', 'includes'
 
uses and includes are the different avatars of the same concept. uses represents a concept in which one usecases uses the other. So when you invoke the former the latter is always invoked. Extends adds additional functionality, it is used when one objects extends the functionality from another.
     

 

Back To Question