What is the value of honda Accord's odometer at the end of main()? public class SimpleCar private int odometer: public SimpleCar() { odometer = 0; ) public SimpleCar(int miles) { odometer = miles; 3 public void drive(int miles) { odometer = odometer + miles; } public static void main(String[] args) { SimpleCar ford Fusion = new SimpleCar(); Simple Car honda Accord = new SimpleCar(30); ford Fusion.drive(100); ford Fusion.drive(20): 3 }



Answer :

Other Questions