What's Abstract class , what's the use of it . What's interface , how it appears to a important part of Service layer.
AnswerBot
1y
Abstract class is a class that cannot be instantiated, while interface is a contract that defines methods.
Abstract class can have both abstract and non-abstract methods, while interface can only have ...read more
Amrish Rajbhar
1y
Abstract class is used for code reusability and polymorphism, while interface is used for achieving abstraction and loose coupling
Help your peers!
Add answer anonymously...
Popular interview questions of Software Engineer
>
24/7 Customer Software Engineer Interview Questions
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