Solved

If a Method Does Not Have a Return Statement, Then

Question 28

Multiple Choice

If a method does not have a return statement, then


A) it will produce a syntax error when compiled
B) it must be a void method
C) it cannot be called from outside the class that defined the method
D) it must be defined to be a public method
E) it must be an int, double, float, or String method

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