/**
 * Vehicle class works in tandem with Truck and TestTruck to demonstrate the
 * use of "super()" and constructors in inheritance.
 * JDEP 183H Fall 2008
 * Adapted From Wu's textbook.
 *
 * @author Leen-Kiat Soh
 * @version 1.0
 */

class Vehicle {

   private String vin;

   public Vehicle()  {

      System.out.println("Inside Vechicle's constructor");

   }


   public Vehicle (String vin)  {
    
      System.out.println("Inside Vehicle's constructor with string");
      this.vin = vin;

   }


   public String getVIN()  {

      return vin;
   }

}

