Which of the following statements creates an array of three Animal references?

A. Animal[] ref = new Animal(3);
B. Animal[] new = ref Animal[3];
C. Animal[] animalRef = new Animal[3];
D. Animal[] ref = extend Animal[3];

Answer: C

Computer Science & Information Technology

You might also like to view...

A .wmv file is a Windows Audio file

Indicate whether the statement is true or false

Computer Science & Information Technology

Missing or extra spaces in JavaScript code can cause the script to not run properly

Indicate whether the statement is true or false

Computer Science & Information Technology