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 0

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