Runnable
Take nothing return nothing
Runnable task = () -> { System.out.println("Just running") }
[!important]
You cant doRunnable task = () -> "hi"without the curly bracket since it is
Take nothing return nothing
Runnable task = () -> { System.out.println("Just running") }
[!important]
You cant doRunnable task = () -> "hi"without the curly bracket since it is