![]() 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. ... Latest Answer : WELL DESIGNED MODULES ALWAYS HIDES ALL OF ITS IMPLEMENTAIONS DETAILS. MODULES THEN COMMUNICATE WITH EACH OTHER ONLY THROUGH API's UNKNOW TO EACH OTHER INNER IMPLEMENTATIONSPROPER USE OF ACCESS MODIFIERS (PRIVATE,PUBLIC,PROTECTED) IS MUST FOR INFORMATION ... Read Answers (6) | Asked by : harsha 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 : Actually size of class having no variable but only 1 function is determined by the variables size declared in that fuction. So the size of the class will be the total size of variables which have been declared in that member function. ... Read Answers (4) | Asked by : anamika Latest Answer : ans: using Templates ... Read Answers (2) | Asked by : kavitha Latest Answer : For more explanation, you can see in my previous answer that we can inherit, but we can not access it from the derived class. ... Read Answers (7) | Asked by : Anjaly Latest Answer : When you create a custom type (class) in any language, that class in OOP is called Object and when you create an istance of this class just as we create instance of built-in types e.g. (int a,float b) it is called instance of the object. ... Latest Answer : Interfaces, like classes, define a set of properties, methods, and events. But unlike classes, interfaces do not provide implementation. They are implemented by classes, and defined as separate entities from classes. Latest Answer : Classes and objects are separate but related concepts. Every object belongs to a class and every class contains one or more related objects. A Class is static. The attributes of a class don't change. An Object on the other hand has a limited lifespan. ... Latest Answer : A Factory class is one that is used to return instances of other classes. This is generally used in the context of Factory Design Pattern. ... Read Answers (1) | Asked by : ashray
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||