Campbell Ritchie wrote:Maybe try running your code at the terminal/command line rather than your IDE. (Is that NetBeans?) Copy and paste the entire code into suitable XXX.java file(s) and try running it.
Campbell Ritchie wrote:Which methods can it not find?
Please use proper names for your constructor parameters; if you use the idiom this.xyz&xa0;=... there is no need to us abbreviated names like ma.
Do you need any setWarrantyXXX() methods? Do you have some means of running up mileage/age of car to make it come out of warranty?