How can you manke a class as interface, if you cannot add any Pure Virtual Function?
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. ...
Latest Answer: 4 ways1. new operator2. using Class and loading classloader3. Cloning4. de-serialization ...
What is scope resolution in C++ and object oriented ?
Latest Answer: :: scope resoulation operator is used in two ways1: access global variable 2: access member of a class ...
Latest Answer: Create a prototype based on client requirement to get better understanding and to iorn out the differences bettween client and ours. Once everyone on the same page, start working on implementing these into design and development. ...
Latest Answer: Class contains the declaration and definition of all of it member variables and the member functions, along with their respective access specifiers. A Class remains same for all of it's objects or instances.Object is a mere instantiation of a class. ...
Latest Answer: Encapsulation: wraping of data in a single unit.Abstraction: Data hiding ...
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 ...
Explain Component Object Model used in C, C++ and .NET
Latest Answer: COM is a platform-independent, distributed, object-oriented system for creating binary software components that can interact. ...
View page [1] 2 3 4 5 6 7 Next >>

Go Top