🔒 Closed DragonFly problem

Status
Not open for further replies.

chaekayeon

Grasshopper
Papaano maiayos po itong problem na ito?

interface HasWings {
public int getNumberOfWings();
}

abstract class Insect implements HasWings {
abstract int getNumberOfLegs();
}

public class Dragonfly extends Insect {
int getNumberOfLegs() {
return 6;
}
}
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 0
    Replies
  • 638
    Views
  • 1
    Participants
Last reply from:
chaekayeon

Trending Topics

Online now

Members online
645
Guests online
7,803
Total visitors
8,448

Forum statistics

Threads
2,346,860
Posts
29,350,293
Members
1,099,628
Latest member
zxcasdasdd
Back
Top