Sounds like you just need to glue your little objects together. I often make a main driver program that does nothing but set things up and make them go. This is pure guesswork since I know so little about your program:
The line "Car racer = new Car()" creates an object instance of the class Car and sets the variable racer to point to that instance. The line for Track does much the same thing. Does that make sense?
Are you working on
Java in a class or on your own? Maybe the gang here can recommend some good books that start from the beginning.