Question: In C# OPP Q1: You are given an interface class as below: (5) interface ITime { void IncrementHours (void); //increment the hours value by 1

In C# OPP
Q1: You are given an interface class as below: (5) interface ITime { void IncrementHours (void); //increment the hours value by 1 void IncrementMinutes (void); //increment the minutes value by 1 void IncrementSeconds (void); // increment the seconds value by 1 } Create another class named "myTime which inherits and implements the interface. Note: Make sure your code follows all the good programing principles
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
