feat: add Chargeable and Refuelable interfaces

This commit is contained in:
2026-04-25 03:04:04 +03:30
parent 19d466ccec
commit 9a6ba5f958
4 changed files with 16 additions and 2 deletions
@@ -0,0 +1,5 @@
package org.example.behavior;
public interface Chargeable {
void charge(double amount);
}
@@ -0,0 +1,5 @@
package org.example.behavior;
public interface Refuelable {
void refuel(double amount);
}