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
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
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.
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?
* 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.
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.
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.
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.