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
Go To First  |  Previous Question  |  Next Question 
 J2EE  |  Question 3 of 96    Print  
Java single inhertiance and multiple inheritance
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


  
Total Answers and Comments: 17 Last Update: August 02, 2007     Asked by: sivakumar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
  Sorting Options  
  Page 1 of 2   « First    1    2    >     Last »  
October 20, 2005 05:46:54   #1  
meenakshi        

RE: 1.what is meant by inheritance,single inhertiance,...
good service and i was in need of this kind of information
 
Is this answer useful? Yes | No
October 20, 2005 07:49:11   #2  
bambam chiudhary        

RE: 1.what is meant by inheritance,single inhertiance,...
how to developed and delopying a SERVELT,JSP program in the TOMCAT APACHE SERVER,WEBLOGIC SERVER?
PLZ send the answer for the particular above question in step by Step process plz

 
Is this answer useful? Yes | No
October 24, 2005 01:19:50   #3  
sudhir Gupta        

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

Inheritence:Making a new class,this new class have some own characterstics and definatelly uesed some existing features so inheritence means using someting existing,reusability of code.means that one is super class and other is subclass,subclass used all the public features of super class.

sudhir 

  


 
Is this answer useful? Yes | No
November 06, 2005 22:09:02   #4  
Prabakar.Bolla        

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

hi ,

Question: 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 above question in step by Step process plz
4.what is meant by GET and POST service method?not difference i want defination
5.difference between servelt and applet?
6.PLZ tell About OOPS?
7.What is Connection Pooping?
8.what is meant by pass by value,pass by reference and their difference?
9. What is deployment descriptors?
10. What is phantom memory ?
11.Can I create final executable from Java?
12.How many ways do we have to load a class?


 
Is this answer useful? Yes | No
November 10, 2005 06:09:57   #5  
kranti        

How many ways do we have to load a class?
* by using Class.forName() and ClassLoader.loadClass() we can load java.lang.class* By comparison, ClassLoader.loadClass() is an instance method and requires you to select a particular classloader, which may or may not be the loader that loads that calling code.*For example, if you are about to load a class you know has a very costly static initializer, you may choose to go ahead and load it to ensure it is found in the classpath but delay its initialization until the first time you need to make use of a field or method from this particular class.
 
Is this answer useful? Yes | No
November 14, 2005 14:27:55   #6  
ashok.r        

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

1.Inheritance is oops feature by which we can use the methods and functions of base class

2.Single Inheritance the type of inheritance where there is only one deriived class for base class

example:

public class derived imlements baseclass

3.multiple inheritance is the type of inheritance where there is one derived class for two base class.it is done using the help of interface and abstract class

example:

public class derived extends abstract implements inter

3.Abstract Class

abstact class are class which are used in inheritance.The abstract class have the keyword abstract.in abstract class we can declare the method using the keyword

abstract functionname();

4.Get

this method is used in servlets where the information fed by user is transmitted as query string

Post:

 this method is used in servlets where the information fed by user is transmitted after encryption.


 
Is this answer useful? Yes | No
November 22, 2005 09:54:01   #7  
bhagya        

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.
 
Is this answer useful? Yes | No
December 05, 2005 06:53:44   #8  
G.DurgaPrasad        

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

It is quite helpful for freshers, if faqs like this get answers


 
Is this answer useful? Yes | No
January 02, 2006 08:08:11   #9  
ayyavarureddy Member Since: December 2005   Contribution: 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


 
Is this answer useful? Yes | No
March 01, 2006 04:23:06   #10  
geeta        

RE: 1.what is abstract class n abstract method

To my knowledge:Abstract method the one which doesn/t have the body. Abstract class is the class with atleast one abstract method(not mandatory),the other methods in it can have implementation.


 
Is this answer useful? Yes | No
  Page 1 of 2   « First    1    2    >     Last »  


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape