feat: introduce Serviceable interface
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package org.example.behavior;
|
||||
|
||||
import org.example.model.Vehicle;
|
||||
|
||||
public interface Serviceable {
|
||||
|
||||
void performService();
|
||||
|
||||
boolean needsService(Vehicle v);
|
||||
}
|
||||
Reference in New Issue
Block a user