Search Interview Questions
| 2720 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Core java - Interview Questions and Answers for 'Ai corporation' - 1 question(s) found - Order By Newest|
|Ans. Keep it as a Abstract Class if its a "Is a" Relationsship and should do subset/all of the functionality. Keep it as Interface if its a "Should Do" relationship.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve java oops abstract classes interfaces advanced ADP AI corporation|
|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 are Marker Interfaces ? Name few Java marker interfaces ?|
|Why do we need Thread class even in case we execute thread using runnable interface ?|
|Which of the following doesn't extend Collection interface ?|
|If an Abstract class has only abstract methods, What's the difference between such a class and an interface ?|
|What is an API ( Application Programming Interface ) ?|
|Can we declare interface methods as private ?|
|What is a nested interface ?|