161k views
2 votes
Assume a class window with accessor method getwidth that accepts no parameters and returns an integer . assume further an array of 3 window elements named winarr, has been declared and initialized . write a sequence of statements that prints out the width of the widest window in the array .

User Fabienne
by
7.3k points

1 Answer

7 votes
Check the attached file for the answer.
Assume a class window with accessor method getwidth that accepts no parameters and-example-1
User Mtraut
by
8.3k points