This language bar is your friend. Select your favorite languages!
Edit summary for version 24 :
[Java] +Comment

Version 23

Version 24

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Code
void finish(String name){
  System.out.println("My job here is done. Goodbye " + name);
}
Code
void finish(String name){
  System.out.println("My job here is done. Goodbye " + name);
}
Comments bubble
void means "no return value".