Which of the following code fragments are valid method declarations?
Select 1 option
Click to view the answer
Correct Option is : B
A valid method declaration MUST specify a return type, all other things are optional.