(This is the same as problem #13 on p. 719 of your textbook.)Write an applet or application that implements a trip-timecalculator. Define and use a class TripComputer to compute the timeof a trip. TripComputer should have the private attributes:
(This is the same as problem #13 on p. 719 of your textbook.)Write an applet or application that implements a trip-timecalculator. Define and use a class TripComputer to compute the timeof a trip. TripComputer should have the private attributes: