Or should have one that says
return void;
That wouldn't compile. You don't return a type, you return a value. If you attempt to put a return with a value into a void function, the compiler will object.
Or should have one that says
return void;
That wouldn't compile. You don't return a type, you return a value. If you attempt to put a return with a value into a void function, the compiler will object.