CJCoding With Joseph
15free / daySign inCreate account
TitleOpen
194
Abstract Shape with CircleAn abstract class Shape is provided with an abstract method double area().
easyNot startedSolve
537
Call an Abstract Parent's ConstructorTool is an abstract class, so new Tool(...) is not allowed, but it still has constructors, and one of them runs every time a subclass object is built.
easyNot startedSolve
538
Implement Two Abstract MethodsTransport is an abstract class with two abstract methods and one finished method, describe(), that calls both of them.
easyNot startedSolve
539
Use an Inherited Getter Inside an Abstract MethodMembership is an abstract class that stores the number of months in a private field and leaves cost() abstract.
easyNot startedSolve
540
Compute a Commission From a Protected FieldSeller is an abstract class with two protected fields and an abstract method commission().
easyNot startedSolve
541
Finish the Concrete Method of an Abstract ClassReport is an abstract class: every kind of report supplies its own body(), and the finished method render() wraps that body in a heading.
easyNot startedSolve
542
Turn a Placeholder Into an Abstract MethodSensor is an abstract class, but its read() method is still an ordinary method with a made-up body that returns 0.0.
easyNot startedSolve
543
Fill In Two Subclasses of an Abstract PiecePiece is an abstract class with two abstract methods, and its finished describe() method uses both.
easyNot startedSolve
544
Finish the Bottom of a Two-Level Abstract ChainAbstract classes can be stacked.
easyNot startedSolve
545
Find the Largest Volume Through an Abstract TypeContainer is an abstract class with one abstract method, volume().
easyNot startedSolve
546
Override a Concrete Method From an Abstract ParentAn abstract class can hold finished methods next to abstract ones.
easyNot startedSolve
197
Abstract BankAccount with WithdrawAn abstract class BankAccount is provided with a balance field, a deposit(double amount) method, and an abstract withdraw(double amount) method.
mediumNot startedSolve
199
Abstract Appliance with Power TrackingAn abstract class Appliance is provided with a boolean isOn field (starts false), turnOn(), turnOff(), and an abstract method int powerUsage().
mediumNot startedSolve
547
Write an Abstract Class With a Concrete Label MethodWrite the abstract class Beverage from scratch.
mediumNot startedSolve
548
Write a Concrete Subclass of an Abstract SolidSolid is an abstract class that stores a name and leaves volume() and surfaceArea() abstract.
mediumNot startedSolve
549
Write Two Discounts From One Abstract ParentDiscount is an abstract class: apply(double price) returns the price after the discount, and each kind of discount works it out differently.
mediumNot startedSolve
550
Write a Template Method Over Abstract StepsWrite the abstract class Workout.
mediumNot startedSolve
551
Write a Subclass and Total It Through the Abstract TypeOrder is an abstract class with a protected subtotal and an abstract method total().
mediumNot startedSolve
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".
hardNot startedSolve
203
Payroll System with Abstract and InterfaceBuild a small payroll system.
hardNot startedSolve
205hardNot startedSolve