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?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the different types of constructors
What's the benefit of using inheritance?
What are the problems faced by the developer using object oriented programming language?
What is Abstract method and how different from Virtual Method?
How can we call the base method without creating an instance?
What are abstract classes?
What are the features of encapsulation ?
What is the main advantage of using inheritance?
Can constructors be parameterized?
Can I implement polymorphism using abstract class?
Why are outlet connections required in object-oriented programming?
What is the main use of message metaphor in object-oriented programming?