Which two are permitted in the method body?

You are writing a method that is declared not to return a value. Which two are permitted in
the method body?

You are writing a method that is declared not to return a value. Which two are permitted in
the method body?

A.
omission of the return statement

B.
return;

C.
return null;

D.
return void;



Leave a Reply to imyrta Cancel reply2

Your email address will not be published. Required fields are marked *

2 × three =


imyrta

imyrta

Answers: A, B