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  


Write basic concepts of oops?

0 Answers  


Can a function be overloaded based on return types?

0 Answers   iNautix,


what is full form OOP?

0 Answers   Wipro,


Explain what is an object?

0 Answers  


What is the difference between an abstract class and interface in java?

0 Answers  


What is meant by inheritance? what are the advantages of inheritance?

0 Answers  


What is the diffrence between an abstract class and interface?

0 Answers  


What do you meant by static and dynamic modeling?

7 Answers   NIIT,


What are the Design Patterns you know.

2 Answers   InfoAxon Technologies, Protech,


What is Object Constraint Language (OCL)?

1 Answers   Protech,


Explain about parametric polymorphism?

0 Answers  


Categories