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
What is the main difference between overloading and overriding?
What is a try/ catch block?
When do you prefer to use composition than aggregation?
1 Answers InfoAxon Technologies, Protech,
Differentiate between data abstraction and encapsulation.
What is an USECASE? Why it is needed?
Can you explain primordial class loader?
What is inheritance in java?
What is meant by “abstract interface”?
How many methods are there in the serializable interface?
Explain about encapsulation?
Classes and structs support inheritance. Is this statement true or false?
What is bootstrap, extension and system class loader?