Add the following mutator method to the TimeSpan class: public void scale(int factor) Scales this time span
Question:
Add the following mutator method to the TimeSpan class:
public void scale(int factor)
Scales this time span by the given factor. For example, 1 hour and 45 minutes scaled by 2 equals 3 hours and 30 minutes.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Building Java Programs A Back To Basics Approach
ISBN: 9780135471944
5th Edition
Authors: Stuart Reges, Marty Stepp
Question Posted: