-Learning Catalytics × / * Homework7-CS-1 : x Chegg Study l Guide × 4. My Drive-
ID: 3688616 • Letter: #
Question
-Learning Catalytics × / * Homework7-CS-1 : x Chegg Study l Guide × 4. My Drive-Google [ × Family Tree Omar-( × Unit 3 Essay-Goog -Course Home https://learn.ou.edu/d21/le/content/2152401/viewContent/3534252/View M Inbox-bryan·sando × (4 points) Given an object named rectangle, constructed elsewhere, call the setter methods to set the two instance variables: height and width to 2 and 5, respectively. You will only need to include the two method calls, do not worry about constructing the object or any other component of the code. 6. (4 points) Given an object named circle, constructed elsewhere, call the getter method to determine the value of its radius variable and output that to the console. Again, do not worry about constructing the object or any other component of the code. 7. 8. (2 points) Object Oriented Design combines an together into objects 3 /6 View as Text 12:20 PM 4/12/2016 Search WindowsExplanation / Answer
6)
rectangle.setHeight(2);
rectangle.setWeight(5);
7)
System.out.println("Radius ="+circle.getRadius());
8)
variables and methods
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.