For example, there is a car class (sample code below), I can not figure out how to make a class that cannot be instantiated (directly), but you can use its functionality for the hierarchy.
public abstract class Car { protected String brand; protected String model; protected int price; protected int maxPassanger; protected int capacity; protected int velocity; protected int maxCarrying; protected double fuelConsumption; public abstract void startEngine(); public abstract void stopEngine(); }