0
How Void as Return ?
Fill in the blanks to create a class with a method called "myFunc" that takes no parameters, returns void, and prints "Hi" to the screen. Why void as return we use void when we do not have to return anything.
2 Answers
+ 9
Returns void is just a different way of saying return nothing.
0
okay thanks