If a method with a return value also has side effects, and you only want the side effects, you can call it as if it were a ____ method.

If a method with a return value also has side effects, and you only want the side effects, you can call it as if it were a ____ method.



Answer: void


Learn More :