All Known Implementing Classes:
CarImpl

public interface Car
An interface providing methods to access car data
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the chassis of a car
    Returns the engine name of a car
    Returns the name of a car
  • Method Details

    • getName

      String getName()
      Returns the name of a car
      Returns:
      the name of a car
    • getChassis

      String getChassis()
      Returns the chassis of a car
      Returns:
      the chassis of a car
    • getEngineName

      String getEngineName()
      Returns the engine name of a car
      Returns:
      the engine name of a car