Ask Question
7 November, 22:59

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;

+2
Answers (1)
  1. 8 November, 00:26
    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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers