![]() Related Questions There are three main principals of oops which are called Polymorphism, Inheritance and Encapsulation Latest Answer : Abstraction: Involves extracting only the relevant information.Encapsulation: Involves packaging one or more components together.Inheritance: Is a process of creating a new class by adding some features to an existing class.Polymorphism: Is an ability ... Tags : OOPS The meaning of Polymorphism is something like one name many forms. Polymorphism enables one entity to be used as as general category for different types of actions. The specific action is determined by Latest Answer : Polymorphisam: It can be catagorized into three ways.1. Method Overloading 2. Method Over-riding3. Interface methods implemented differently in different ways in sub-classes.Overloading: Define methods with same name , same return type with different ... From a practical programming viewpoint, polymorphism exists in three distinct forms in Java: Method overloading Method overriding through inheritance Method overriding through the Java interface Latest Answer : Method OverloadingMethod OverridingOperator OverloadingThese are the different forms of Polymorphism in Java. ... Latest Answer : ans: using Templates ... Read Answers (2) | Asked by : kavitha Latest Answer : Server container will call the callback methods like init() etc.. throught which the servlet object is constructed ... Read Answers (1) | Asked by : prashant Latest Answer : Object-based language" may be used to describe any programming language that is based on the idea of encapsulating state and operations inside objects. Other than VB and java script examples of object-oriented languages include Simula, Smalltalk, ... Read Answers (1) | Asked by : abhishek Tags : Java Script Function Latest Answer : other object oriented languages are c++ & simula 67 ... Read Answers (1) | Asked by : manoj Tags : Java Script Function What is the difference between Aggregation and Composition?(Asked in Polaris Interview for Java Experienced People, on April 11, in Chennai) Latest Answer : Aggregation:In aggregation , one object is composed of multiple objects and every object is useless without the relationship. Suppose there is a car object, so car object is useless without the tyre or steering object, and steering object is useless without ... Latest Answer : 4 ways1. new operator2. using Class and loading classloader3. Cloning4. de-serialization ... Describe why Java supports only runtime polymorphism? Latest Answer : The three ways of polymorphism in Java are method overloading, method overridding and method overridding by extending an class. All these results come true when we run our class which is overloading or overidding any method since we run methods at runtime. ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||