Question: Given the following code: CD cd1 new CD(Ella Fitzgerald); CD cd2 = new CD(They Might Be Giants); CD cd3 = new CD(21 Pilots); cd2

Given the following code: CD cd1 new CD("Ella Fitzgerald"); CD cd2 = 

Given the following code: CD cd1 new CD("Ella Fitzgerald"); CD cd2 = new CD("They Might Be Giants"); CD cd3 = new CD("21 Pilots"); cd2 cdl; cd1=> cd3; What does cd2 point at?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

From the given code cd2 points The Ella Fitzgerald CD object Explanation From line 2 cd2 points t... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!