Question: Question 1 5 If a method is declared to return void, then which statement below is true? The method cannot return until reaching the end
Question
If a method is declared to return void, then which statement below is true?
The method cannot return until reaching the end of the method body.
The method cannot be invoked unless it is in an assignment statement.
The method needs a return statement that always returns the integer value zero.
When the method terminates no value will be returned.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
