+ 1

When we use method void? Or any keyword?

sorry bad english

10th Mar 2017, 10:57 AM
Alvin Fadli
Alvin Fadli - avatar
3 Antworten
+ 4
void is used when a function does not return any value. if a value is to be returned by the function, the data type of the returned value will be used instead of void.
10th Mar 2017, 2:04 PM
seamiki
seamiki - avatar
0
void is used wen function does not return value and so to create function and main
24th Mar 2017, 6:33 PM
Javed Khan
Javed Khan - avatar
- 2
void is used to create function
10th Mar 2017, 11:26 AM
Vishal Prajapati