| |
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 |
| November 11, 2005 09:54:01 |
#7 |
| bhagya |
Member Since: Visitor Total Comments: N/A |
RE: 1.what is meant by inheritance,single inhertiance,... |
| Inheritance is oops feature by which we can use the methods and functions of base class2.Single Inheritance the type of inheritance where there is only one deriived class for base classexample:public class derived imlements baseclass3.multiple inheritance is the type of inheritance where there.abstract class is just like aclass,but abstract class may contain abstact method or concrete method or both.we doesn't create object for this abstract class.abstract method is a method which doesn't have the implementation part,which implements in derived class. |
| |
Back To Question | |