What is the difference between an abstract class and an interface?
Answer:
-Abstract class Interface - Have executable methods and abstract methods.
Can only subclass one abstract class
-Interface - Have no implementation code. All methods are abstract.A class can implement
any number of interfaces.
Share To Friends Via:
More Questions For Programming in Java:
What is Java? (Answered) What is Java? . Posted On:Sat 20, March 2021 20:03:42 pm