New course! Every coder should learn Generative AI!
Try a free lesson+ 1
What is no return value????
2 Answers
+ 2
if a method does not return a value (void)
+ 2
void means a method doesn't return any value
ex: int function(){} - returns int
void function() {} - returns nothing