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 'Cybage' - 1 question(s) found - Order By Newest|
|Very Frequently asked. Have been asked in HCL Technologies very frequently ( based on 3 feedback ). Among first few questions in many interviews.|
|Ans. Abstract classes can have both abstract methods ( method declarations ) as well as concrete methods ( inherited to the derived classes ) whereas Interfaces can only have abstract methods ( method declarations ).|
A class can extend single abstract class whereas it can implement multiple interfaces.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   classes   abstract class   interfaces Asked in 80 Companies basic   frequent|
|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 ?|
|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 ?|