Page 998 - AP Computer Science A, 7th edition
P. 998

13. (B) For each i, tickList[i] is a new Ticket object that must be constructed using the Ticket constructor. Therefore eliminate choices C, D, and E. Choice A is wrong because getRow(), getSeat(), and getPrice() are ac c es s ors f or values that already exist for some Ticket object. Note also the absence of the dot member construct.


































































































   996   997   998   999   1000