Untitled

 avatar
unknown
java
3 months ago
143 B
6
Indexable
class Ave {
    void voar() {}
}

class Pinguim extends Ave {
    void voar() {
        throw new RuntimeException("Pinguim não voa");
    }
}
Editor is loading...
Leave a Comment