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 02:32:59 #3
 amit raj   Member Since: Visitor    Total Comments: N/A 

RE: why java does not support inheritance of multiple ...
 
Actually java can extends only one class ie it does not support multiple inheritance but itsupports it as an substitute ie inreface.Servlet/JSP are the server side programming language and running this program we need only server not a main coz it is not a executable program.
     

 

Back To Question