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...

When you quote or paraphrase another person or publication, you must reference the source in a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

The purpose of the __________ algorithm is to enable two users to exchange a secret key securely that can then be used for subsequent encryption of messages.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology