Solved

Which of the Following Method Declarations Correctly Defines a Method

Question 19

Multiple Choice

Which of the following method declarations correctly defines a method with a variable length parameter list?


A) public int average(int[] list)
B) public int average(int ... list)
C) public int average(...)
D) public int average(int a, int b, int c, ...)
E) public int average(integers)

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