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
Can you give some examples of tokens?
What interface must an object implement before it can be written to a stream as an object?
What is the main difference between overloading and overriding?
What is the difference abstract class and interface?
Can an interface implement or extend another interface?
why do requirements change so much? after all, don't people know what they want?
How to achieve data abstraction?
Does a concept HAVE to become a class in Design?
Why does the function arguments are called as "signatures"?
Write down how will you create a Binary tree?
Explain the concept of multiple inheritance (virtual inheritance). Write about its advantages and disadvantages?
How will you define abstract classes?