@@ -0,0 +1,936 @@
+%0Aclass Car %7B%0A     String plateNo;%0A     String color;%0A     int yearManufactured;%0A     String make;%0A     String model;%0A     double capacity;%0A%0A     Car(String pn, String clr, int y, String mk, String md, double caps) %7B%0A         this.plateNo = pn;%0A         this.color = clr;%0A         this.yearManufactured = y;%0A         this.make = mk;%0A         this.model = md;%0A         this.capacity = caps;%0A     %7D%0A %7D%0A class Person %7B%0A     String name;%0A     int icNo;%0A%0A     Person(String name, int ic) %7B%0A         this.name = name;%0A         this.icNo = ic;%0A     %7D%0A %7D%0A class CarRegNode %7B%0A     int regNo;%0A     Car regCar;%0A     Person owner;%0A%0A     CarRegNode(int regNo, Car regCar, Person owner) %7B%0A         this.regCar = regCar;%0A         this.owner = owner;%0A         this.regNo = regNo;%0A     %7D%0A%0A     public addCar() %7B%0A%0A     %7D%0A %7D%0A%0A public class P4Q5 %7B%0A     public static void main(String%5B%5D args) %7B%0A         CarRegNode%5B%5D reglist = new CarRegNode%5B50%5D;%0A%0A     %7D%0A %7D%0A

Create P4Q5.java