![]() Related Questions 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. ... While copying the objects if you say X a = b and asssume that '=' operator is overloaded then what it will call, a copy constructor or operator overloading function Read Answers (8) | Asked by : Amit Joshi Can we create a object of Base class?..If we can not create a object of base class then why we need Abstract class? Read Answers (5) | Asked by : abhishek Tags : Abstract 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
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||