Ask Question
5 December, 16:38

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. 5 December, 16:48
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers