Question: Suppose that x = y; is a widening assignment. (a) If x and y are primitive variables, explain why the assignment can also be referred
Suppose that
x = y;
is a widening assignment.
(a) If x and y are primitive variables, explain why the assignment can also be referred to as a widening conversion.
(b) If x and y are reference variables, how are the types of x and y related to each other?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
