
Asked in Infosys
What is the difference between an abstract class and an interface?

AnswerBot
2mo
Abstract classes can have both abstract and concrete methods, while interfaces can only have abstract methods (Java 8+ allows default methods).
Abstract classes can have instance variables; interfaces ...read more
Help your peers!
Add answer anonymously...
Interview Questions Asked to Java fresher at Other Companies
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

