0
Needing help writing a class for a car in java
Hello! I'm pretty new to java and I'm just learning the basics. I was needing help with this problem I have for my first assignment. The question is: Write a second java program: for a class called MyCar. It should contain data for the odometer, current speed, current gear, and methods to access and change the values of these variables. I'm pretty sure I know how to do the first part but I'm getting stuck where it says "use methods to access and change the values of these variables." any help would be really appreciated!
2 odpowiedzi
+ 1
Same question For me, I have not bought premium but i am very interested in it
0
This should help you: https://www.sololearn.com/learn/Java/2154/