Module3 ->src ->Car | Selenium Forum
M
Posted on 30/06/2016
public class Car {

String name;
int price;
Engine eng;

public int inceasePrice(int increment){
price = price + increment;
return price;
}

public Engine getEngine(){
return eng;
}
}

I cannot run this program because there is no Main method. This is from DOWNLOAD CODE -> Module3 -> src -> Car.

M
Replied on 01/07/2016

what is the problem you're having?