Java, Programming, Object Oriented Design, Objectorientedprogramming, Oop.
define common methods in the interface and provide specific implementations in implementing classes. Example interface Vehicle { void start(); void stop(); } class Car implements Vehicle { private String model; public Car(String model) { this.model = model; } @Override public void start() {