Inheritance, abstract class, interface, enumerate type

Example from the last tutorials is improved. We made an abstract class for car representation. Than, base on it, we create class Car. In class Car we add a static method and and a static variable.

We add an interface.

We use enumerate type.

More about enumerate type.