Of course!
Here is a skeleton for the Car
class.
class Car { // instance variables // constructor // methods }
The source file must be named Car.java
.
Decide what variables should go in the data section. Look back to the Car class to see what you need.