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

Trending Topics

Online now

Members online
1,226
Guests online
3,347
Total visitors
4,573

Forum statistics

Threads
2,300,777
Posts
29,138,795
Members
1,199,653
Latest member
Chiu
Back
Top