Kizspy | Question: 22
(Choose 1 answer)
What is the main difference between a class and an interface?
A. A class can contain implementations of methods, while an interface cannot
B. An interface can be instantiated, while a class cannot
C. A class cannot be extended, while an interface can
D. A class only contains method declarations, while an interface contains method implementations