Question: Question 7 1 pts Given the following code: DayTime time1 new DayTime): DayTime time2 time1; DayTime bestTime; time2 new DayTime): bestTime-time1; Variables time1 and time2

Question 7 1 pts Given the following code: DayTime time1 new DayTime): DayTime time2 time1; DayTime bestTime; time2 new DayTime): bestTime-time1; Variables time1 and time2 both refer to the same object. True O False Question 8 1 pts Declare a reference variable named cartoonName that can refer to an object of type CartoonName. Do not create a new object
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
