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:  why java does not support inheritance of multiple superclasses?
what is achieved by inheritance?
why there is no main method in servlets/jsps?




October 10, 2005 01:53:02 #2
 uday   Member Since: Visitor    Total Comments: N/A 

RE: why java does not support inheritance of multiple ...
 

Handling the two classes always be a problem.Why we need to extends two classes at a time.If that required use two extends statements.Like this...

Class A extends B

{

......

}

class c extends A

{

}

problem cleared...

     

 

Back To Question