} // end Time2 three-argument overloaded method // Time2 constructor: another Time2 object supplied as an argument public void addtime(Time2 atime) { atime.SetTime(Hour, Minute, Second); atime.addTime(Hour, Minute, Second); }