Home » JAVA Programming » Methods » Question
  1. What is the return type of a method that does not returns any value?
    1. float
    2. void
    3. double
    4. int
    5. None of these
Correct Option: B

Return type of an method must be made void if it is not returning any value.



Your comments will be displayed only after manual approval.