If the method does not return a value, its return type must be void

A) True
B) False

Showing Answers 1 - 3 of 3 Answers

supriya.ahire

  • Mar 21st, 2006
 

Hi,

     It's true.If a method is not returning any value then we must have to specify it's return type as void.void indicates that method is not returning any value.

Vickey

  • Nov 28th, 2006
 

Yes it is ... If a method does nt return any value .. then it should be declared as void

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions