Java Array storing objects with multiple fields

Try doing something like this:

vehArray[0] = car1;

Leave a Comment