+ 1
When we use method void? Or any keyword?
sorry bad english
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.
0
void is used wen function does not return value and so to create function and main
- 2
void is used to create function