What does Void mean? What are Void methods versus non-Void methods?
Void methods will do something but will not return anything. “Setter” methods are void methods.
Non-Void methods will return a value. They can return an int, float, boolean, double, String, array or objects. “Getter” and the “toString” methods are non-void methods because they return a value. Non-Void methods must have a “return” statement in them.
Lesson 34: Void vs non-void methods