Search Interview Questions
| 3361 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. That would not be a problem as both are specifying the contract that implement class has to follow.|
If class C implement interface A & interface B then Class C thing I need to implement print() because of interface A then again Class think I need to implement print() again because of interface B, it sees that there is already a method called test() implemented so it's satisfied.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   oops   interfaces   multiple inheritance|
|Differences between abstract class and interface ?|
|What are the different uses of Interfaces in Java ?|
|Why can't we have diamond problem with interfaces ?|
| What is the difference between List, Set and Map ?|
What are the different Java Collections Interfaces ?
|What are Marker Interfaces ? Name few Java marker interfaces ?|
|If an Abstract class has only abstract methods, What's the difference between such a class and an interface ?|
|Can we declare interface methods as private ?|
|What are the design considerations while making a choice between using interface and abstract class ?|
|What are the Core Interfaces of Hibernate Framework ?|
|Can we use static method definitions in Interfaces ?|