What is the difference between a class and an interface?

AnswerBot
1y
A class is a blueprint for creating objects, while an interface is a contract that defines a set of methods that a class must implement.
A class can have attributes, methods, and constructors, while an...read more
Help your peers!
Add answer anonymously...
Interview Questions Asked to Senior SAP Consultant 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

