A class inherits from 2 interfaces and both the interfaces have the same method name as shown below. How should the class implement the drive method for both car and bus interface?
954What is the default access modifier for a class,struct and an interface declared directly with a namespace?
960
What is abstraction? How does it differ from encapsulation
What is the abstract method modifier?
What is virtual?
Can an interface have an inner class?
What is static and dynamic Binding?
Explain the concept of multiple inheritance (virtual inheritance). Write about its advantages and disadvantages?
Is iterator a class or interface? What is its use?
What do you mean by virtual function and virtual classes?
Do we require a parameter for constructors?
What is difference between polymorphism and normalization?
Explain about parametric polymorphism?
What is the super keyword?
What is bootstrap, extension and system class loader?
What do you mean by operator overloading?
What is constructor and virtual function? Can we call virtual funciton in a constructor?