Suppose that class Book has been defined. Which of the following creates an array of Book objects?

a)
Book[] books = new Book[numberElements];
b)
Book[] books = new Book()[numberElements];
c)
new Book() books[];
books = new Book[numberElements];
d) All of the above.


a)
Book[] books = new Book[numberElements];

Computer Science & Information Technology

You might also like to view...

Which of the following are advantages of wireless networks compared to wired networks? (Choose all that apply.)

A. security B. mobility C. increased access D. faster speeds

Computer Science & Information Technology

A(n) ________ exists when a field relates to a key

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ________ is at the very top of a Word window and displays the file name and application, as well as the Quick Access Toolbar

Fill in the blank(s) with correct word

Computer Science & Information Technology

A user application utilizes standard business software, such as Microsoft Word or Microsoft Excel, which has been configured in a specific manner to enhance user productivity. 

Answer the following statement true (T) or false (F)

Computer Science & Information Technology