@@ -0,0 +1,400 @@
+package objectlayer;%0A%0A%0A%0Apublic class Rental %0A%7B%0A%09%0A%09private String startDate; %0A%09private String endDate; %0A%09private int carID; %0A%09%0A%09%0A%09%0A%09public Rental(int inputID, String d1, String d2)%0A%09%7B%0A%09%09carID = inputID; %0A%09%09startDate = d1; %0A%09%09endDate = d2;%0A%09%7D%0A%09//most basic object of rental. %0A%09%0A%09public Rental(String d1, String d2)%0A%09%7B %0A%09%09startDate = d1; %0A%09%09endDate = d2;%0A%09%7D%0A%09//rental object sans the car ID. %0A%09%0A%09%0A%09%0A%0A%0A%7D%0A

create rental object