| Title | Open | |||
|---|---|---|---|---|
| 191 | Extend a Dog from AnimalA base class Animal is provided with a name field and a speak() method that returns "...". | easy | Not started | Solve |
| 192 | Override toString in StudentA Person class is provided with a name field. | easy | Not started | Solve |
| 195 | Inherit and Call Super MethodA Vehicle class is provided with a method describe() that returns "I am a vehicle". | easy | Not started | Solve |
| 507 | Use an Inherited Getter in a SubclassGuitar extends Instrument, so every guitar already has the public method getName() without writing it again. | easy | Not started | Solve |
| 508 | Pass Two Values Up With superLaptop extends Device. | easy | Not started | Solve |
| 509 | Add to the Parent's Price With super.getPrice()VipTicket extends Ticket and overrides getPrice(). | easy | Not started | Solve |
| 510 | Change a Protected Field From a SubclassProduct declares its stock field as protected, so code inside a subclass can read and change it directly, while unrelated classes cannot. | easy | Not started | Solve |
| 511 | Let a Parent-Type Parameter Pick the Right OverrideParrot and Owl both extend Bird and override sound(). | easy | Not started | Solve |
| 512 | Count Subclass Objects With instanceofA Player[] array can hold plain Player objects and Goalie objects, because a Goalie is a Player. | easy | Not started | Solve |
| 513 | Downcast to Reach a Subclass MethodpointsOf receives an Account, but only a PremiumAccount has getRewardPoints(). | easy | Not started | Solve |
| 514 | Build on the Parent's toStringCourse already has a toString() that returns text such as Course MATH101. | easy | Not started | Solve |
| 515 | Total the Pay of a Mixed Staff ArrayIntern and Contractor both extend Worker and override weeklyPay(). | easy | Not started | Solve |
| 516 | Overload an Inherited Method in a SubclassOverloading means two methods share a name but take different parameters. | easy | Not started | Solve |
| 196 | Employee Salary InheritanceCreate a Manager class that extends the provided Employee class. | medium | Not started | Solve |
| 200 | Multi-Level Inheritance ChainA base class Animal and a middle class Pet are provided. | medium | Not started | Solve |
| 517 | Write a Subclass With a New Field, an Override and a New MethodA Room class is provided. | medium | Not started | Solve |
| 518 | Override equals to Compare Two PointsEvery class inherits equals(Object other) from Object. | medium | Not started | Solve |
| 519 | Write Two Subclasses of a Game CharacterA GameCharacter class is provided. | medium | Not started | Solve |
| 520 | Sum a Subclass-Only Value With instanceof and a CastA library lends books and DVDs. | medium | Not started | Solve |
| 521 | Override the Methods a Parent Method CallsA Card class is provided. | medium | Not started | Solve |
| 202 | Abstract Shape Hierarchy with Rectangle and TriangleCreate an abstract class Shape with an abstract method double area() and a concrete method String label() that returns "Shape". | hard | Not started | Solve |
| 205 | Zoo Exhibit with Abstract Animals and Feedable InterfaceBuild a small zoo exhibit system. | hard | Not started | Solve |