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  >  Interview Questions  >  J2EE  >  Core Java

 Print  |  
Question:  what is the difference between abstract class & Final class



November 11, 2006 00:57:09 #5
 Rajasekar   Member Since: Visitor    Total Comments: N/A 

RE: what is the difference between abstract class & Fi...
 

Abstract class -> it is not must to override all methods in abstract class. Abstract class may contain abstract methods and non abstract methods.. in this case abstract methods should be overriden and non abstract methods are need not to be overriden

Abstract class can be inherited

Final class -> overriden is not possible, this class cannot be inherited..

     

 

Back To Question