✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Consider the following code fragment:
Room office = new Room();
Room classroom = new Room();
office.setArea(125.0);
classroom.setArea(350.0);
office = classroom;
classroom.setArea(200.0);
Which of the following will be true, after this code executes? (Assume all classes and methods have been defined elsewhere correctly.)