Question: Consider this code snippet that uses a class called Rectangle. int roomHeight = 4 0 ; int roomWidth = roomHeight * * 3 ; Rectangle
Consider this code snippet that uses a class called Rectangle.
int roomHeight ;
int roomWidth roomHeight ;
Rectangle room new RectangleroomHeight; roomWidth;
Which of the following is a reference variable?
room
Rectangle
roomHeight
roomWidth
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
