What is the difference between an abstract class and an interface in Java?
A. An abstract class can have method implementations, while an interface can only have method signatures.
B. An abstract class can be instantiated, while an interface cannot.
C. An abstract class can only extend one other class, while an interface can extend multiple interfaces.
D. None of the above.
Answer:A
What is the difference between an abstract class and an interface in Java?
A. An abstract class can have method implementations, while an interface can only have method signatures. B. An abstract class can be instantiated, while an interface cannot. C. An abstract class can only extend one other class, while an interface can extend multiple interfaces. D. None of the above.