Can someone explain a void return type in Java?
Can someone explain a void return type in Java? The void type is used to declare that a method does not return a value. Couldn’t you just make the return type String and set the string equal to the parameter to make it show up when the method is called? Hypothetically “you” (or in this … Read more