Trying to call the java file, and have been asked to make it so that if args[0] is empty in a terminal call, it should return all objects. Cant get it working without getting an error.
else if(args[1]==null){
System.out.println("Printing information on all cars.");
for (Bil l : bilArrayList){
System.out.println(l.toString());
}
}