Assume class Book has been declared. Which set of statements creates an array of Books?

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

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

Computer Science & Information Technology

You might also like to view...

An attribute value always must be enclosed within either single or double _____.

A. brackets B. quotes C. braces D. parentheses

Computer Science & Information Technology

How are apps for iOS distributed?

What will be an ideal response?

Computer Science & Information Technology