🔒 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
  • 636
    Views
  • 1
    Participants
Last reply from:
chaekayeon

Trending Topics

Online now

Members online
1,111
Guests online
2,115
Total visitors
3,226

Forum statistics

Threads
2,332,456
Posts
29,265,330
Members
1,144,322
Latest member
jeremy27
Back
Top