Solved

Suppose a Method P Has the Following Heading: Public Static

Question 21

Multiple Choice

Suppose a method p has the following heading: public static int[][] p()
What return statement may be used in p() ?


A) return 1;
B) return {1, 2, 3};
C) return int[]{1, 2, 3};
D) return new int[]{1, 2, 3};
E) return new int[][]{{1, 2, 3}, {2, 4, 5}};

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents