![]() ![]() I did some changes and it still is erroring out. Add code to test the setName mutator here ("The back door is " + backAutomobile.getMake()) Use the mutator to change the state variable ![]() ("The back door is " + backAutomobile.getModel()) ("The front door is " + frontAutomobile.getMake()) Īutomobile backAutomobile = new Automobile("Back", "closed") Tests the methods of the Door args not usedĪutomobile frontAutomobile = new Automobile("Front", "open") so I took some code from our lab and changed it up a bit to compile and run to get something. Public Automobile(String initMake, String initModel, double initPrice)Īnd now I am suppose to build a tester which I am not sure how to do. and I keep getting a compiler error of AutomobileTest.java:9: cannot find symbol
0 Comments
Leave a Reply. |