I have the following code(below), I want to create two arrays which simulate roads. The "road" has a particular type of car at position  in one road and another type of car in position in the other road. There is no connection between the two roads apart from they are arrays of car objects. Unfortunatley, when I populate the array, the first roads firat car is overwritten by the type of car in the second array and I just cant understand why.
I am new to java, so am just trying to get my head round it.
Any help greatly appreciated
public class car
public static String name = new String();
public Ship(String Carname)
public class CarSim
public static void main(String args)
Car Road1 = new Car;
Car Road2 = new Car;