+ 1

What is no return value????

3rd Dec 2016, 8:45 AM
Guruveth Avinash
Guruveth Avinash - avatar
2 Respostas
+ 2
if a method does not return a value (void)
3rd Dec 2016, 10:11 AM
Drauchris
Drauchris - avatar
+ 2
void means a method doesn't return any value ex: int function(){} - returns int void function() {} - returns nothing
3rd Dec 2016, 12:39 PM
Surya Konduru
Surya Konduru - avatar