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

Match the following terms to their meanings:

I. IRM II. digital signature III. signature line IV. selfcert.exe V. digital certificate A. electronic stamp B. a self-certification program C. attachment to a file that guarantees authenticity D. service designed to help control who can access documents E. enables the user to digitally sign a document

Computer Science & Information Technology

Which of the following ties up valuable computer resources with no added value to the company?

A) E-mail B) Spam C) Junk mail D) Internet

Computer Science & Information Technology