QuesHub > > > > ASK DETAIL

Can a class extend an interface?

Mia Perez | 2023-06-09 06:34:41 | page views:1937
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Lucas Clark

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

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
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4