Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 10. Assume that we have the class Airplane. A 3-by-4 two-dimensional ar

ID: 3718498 • Letter: Q

Question

Question 10.

Assume that we have the class Airplane. A 3-by-4 two-dimensional array of objects of the class Airplane is actually:

a. A 1 dimensional array of 3 elements where each element is a reference to an array of 4 references to Airplane objects

b. A 1 dimensional array of 3 objects where each object contains a data member that is a 1 dimensional array of 4 Airplane objects

c. A 1 dimensional array of 12 elements where each element is an

Airplane object

d. We cannot use 2-dimentional arrays in Java

Explanation / Answer

Answer: a. A 1 dimensional array of 3 elements where each element is a reference to an array of 4 references to Airplane objects

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote