Java - how many, and which methods should I use for class
<p>I can't ask this better way than this.
I am making a little school project, we should do something like "alarms". I chose a car.
I have these classes </p>

<ul>
<li>Car</li>
<li>Alarm</li>
<li>Ride</li>
</ul>

<p>Class car has some methods, and private variables for example gas,oil,mileage, and get / set methods.I created method in Alarms class which checks if car has enough gas, oil, and so. I made it static so I dont have to create objects for Alarm and Ride. I also created a method in Ride, which just simply "uses" gas - decrements it. And finally my point of question is - Is it considered good to do it this way, or I should just put all methods in Car class? In main method I just create one object called car, and for example if i want to "use" gas, I do it this way <code>Ride.useGas(car)</code>. Ride is a class, useGas is static method, and I pass an object to the method.</p>
