Why you making speed zero.
Here is how you should call your methods
MainClass to call your car Class
public class MainClass {
public static void main(String[] args) {
car cc=new...
Type: Posts; User: AJAXx195
Why you making speed zero.
Here is how you should call your methods
MainClass to call your car Class
public class MainClass {
public static void main(String[] args) {
car cc=new...