fix: make comments clear and detailed
This commit is contained in:
@@ -30,6 +30,8 @@ public class ElectricCar extends Car implements Chargeable {
|
||||
// TODO: Override getEnergyType() → return "Electric"
|
||||
|
||||
// TODO: Override showDetails()
|
||||
// Call super.showDetails()
|
||||
// Print battery capacity and charge level
|
||||
|
||||
// TODO: Implement charge(double amount)
|
||||
// Validate negative
|
||||
|
||||
Reference in New Issue
Block a user