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;
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;
AB
Answers: A, B