Question: SR 8.16 Assume Book is a class whose objects represent books. Assume a constructor of the Book class accepts two parametersthe name of the

SR 8.16 Assume Book is a class whose objects represent books. Assume a constructor of the Book class accepts two parametersthe name of the book and the number of pages. a. Write a declaration for a variable named library that is an array of ten books. b. Write a new statement that sets the first book in the library array to "starship Troopers", which is 208 pages long.
Step by Step Solution
3.47 Rating (157 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
