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

Post New Answer

More OOAD Interview Questions

What is the main difference between overloading and overriding?

0 Answers  


What is a try/ catch block?

0 Answers  


When do you prefer to use composition than aggregation?

1 Answers   InfoAxon Technologies, Protech,


Differentiate between data abstraction and encapsulation.

0 Answers  


What is an USECASE? Why it is needed?

8 Answers  






Can you explain primordial class loader?

0 Answers  


What is inheritance in java?

0 Answers  


What is meant by “abstract interface”?

0 Answers  


How many methods are there in the serializable interface?

0 Answers  


Explain about encapsulation?

0 Answers  


Classes and structs support inheritance. Is this statement true or false?

0 Answers  


What is bootstrap, extension and system class loader?

0 Answers  


Categories