Welcome to the forums. First,
please read the FAQ before you post again.
What looks like a constructor is placed inside of main(). Move that(and make it public) and the class's fields to outside of main(). And finally, the calls to the class member fields are made from a static context- you need to reference them instead. In other words, you make a Car object: carA, but you don't use it. To access a member field, use the "." operator via:
Post your updated attempt if you get stuck.
See you around!