Can a class extend an interface?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the International Organization for Migration, Lives in Geneva, Switzerland.
An abstract class is still a class, just like any other. Only interfaces can extends other interfaces. You can actually extend interfaces in Java, but it would still be called an interface. Then you can use this extended interface implemented in your abstract class.Aug 9, 2014
2023-06-11 06:34:41
评论(499)
Helpful(122)
Helpful
Helpful(2)

Amelia Phillips
QuesHub.com delivers expert answers and knowledge to you.
An abstract class is still a class, just like any other. Only interfaces can extends other interfaces. You can actually extend interfaces in Java, but it would still be called an interface. Then you can use this extended interface implemented in your abstract class.Aug 9, 2014