Intern — Middle
What does the greeting method output and how does the return operator work in a void method
livecode
Task condition
Determine what text will appear in the console when the greeting() method is called, and also explain how the return statement works inside a method declared with the void type.
public void greeting() {
System.out.println("{ between brackets }");
https://www.youtube.com/@mezhdu_skobok
return;
}