Ask Question
11 August, 20:33

Suppose r contains a reference to a new rectangle (5, 10, 20, 30). which of the following assignments is legal? (look inside the api documentation to check which interfaces the rectangle class implements.)

a. rectangle a = r;

e. measurable e = r;

b. shape b = r; f. serializable f = r;

c. string c = r; g. object g = r;

d. actionlistener d = r;

+1
Answers (1)
  1. 12 August, 00:04
    0
    The legal in this following assignments is no other than e. measurable e = r. It is measurable because r contains a reference to a new rectangle (5, 10, 20, 30). So the interfaces the rectangle class implements is measurable, we really can measure it by solving the rectangle sides.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Suppose r contains a reference to a new rectangle (5, 10, 20, 30). which of the following assignments is legal? (look inside the api ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers