Search Interview Questions
| More than 3000 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.
|Core java - Interview Questions and Answers for 'Adella' - 1 question(s) found - Order By Newest|
|Ans. The interface is a mechanism to achieve abstraction. Interfaces can have abstract methods and variables. It cannot have a method body.|
Sample Code for interface
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  interface Asked in 1 Companies basic   frequent|
|Differences between abstract class and interface ?|
|What are the different uses of Interfaces in Java ?|
|Why can't we have diamond problem with interfaces ?|
|Why do we need Thread class even in case we execute thread using runnable interface ?|
| 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 ?|
|Can we declare interface methods as private ?|
|What is comparator interface used for ?|
|What is the use of runnable interface if we can always create a new thread using Thread class ?|
|Which of the following doesn't extend Collection interface ?|