Describe how you need to change the interface and


Problem

Suppose you want to change the implementation of the class Digital Time given in Displays 11.1 and 11.2. Specifically, you want to change the way the time is recorded. Instead of using the two private variables hour and minute, you want to use a single (private) int variable, which will be called minutes. In this new implementation the private variable minutes will record the time as the number of minutes since the time 0:00 (that is, since midnight). For example, 1:30 is recorded as 90 minutes, since it is 90 minutes past midnight. Describe how you need to change the interface and implementation files shown in Displays 11.1 and 11.2. You need not write out the files in their entirety; just indicate what items you need to change and how, in a very general way, you would change them.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Describe how you need to change the interface and
Reference No:- TGS02745882

Expected delivery within 24 Hours