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

 Print  |  
Question:  Java single inhertiance and multiple inheritance

Answer: 1.what is meant by inheritance,single inhertiance,multiple inheritance?2.define abstract class & abstract method?3.how to developed and delopying a SERVELT,JSP program in the TOMCAT APACHE SERVER,WEBLOGIC SERVER?PLZ send the answer for the particular abo


January 01, 2006 08:08:11 #9
 ayyavarureddy J2EE Expert  Member Since: December 2005    Total Comments: 2 

RE: 1.what is meant by inheritance,single inhertiance,...
 

inheritance is nothing but creating a new class from existing class

the new class is called sub class and existing class is called super class

new class(subclass) has methods,fields of super class and also has his own properties

     

 

Back To Question