Define a constructor as indicated. Sample output for belowprogram:

Year: 0, VIN: -1Year: 2009, VIN: 444555666

Using C++ language