Solved

If a Method Is Declared to Return Void, Then Which

Question 10

Multiple Choice

If a method is declared to return void, then which statement below is true?


A) The method cannot return until reaching the end of the method body
B) The method needs a return statement that always returns the integer value zero
C) When the method terminates no value will be returned
D) The method cannot be invoked unless it is in an assignment statement

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