I know this is probably a no brainer...but it's my very first program.
I defined an array of classes and when I try to access methods by subscript, I get a null pointer exception...seems easy, why not working?
Car[] cars = new car[args.length];
for (int r=0; r<cars.length; r++) {
cars[0].goFast();
}