Abstraction vs interface?
AnswerBot
1y
Abstraction is a concept of hiding implementation details while interface is a contract that defines the behavior of a class.
Abstraction is achieved through abstract classes and methods
Interface is a ...read more
Vaishali b
2y
only1 abstract class can be extended whereas multiple interfaces can be implemented.
abstract class can have constructors whereas interface cant
abstraction doesn't support multiple inheritance whereas ...read more
Kirti Mandhare
2y
Abstraction-is a non abstract class.
Used static and non static type of data.
Extend keyword is used to inherited.
Only one abstract class is inherited.
Using abstraction we cannot achieve the multip...read more
Add answer anonymously...
Top HCLTech Java Developer interview questions & answers
Popular interview questions of Java Developer
Top HR questions asked in HCLTech Java Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app