Glossary: Java Beyond the Basics
Callable
Also written: Runnable
A task you hand to an executor: a Callable is a lambda that returns a value, and a Runnable is one that returns nothing.
Glossary: Java Beyond the Basics
Also written: Runnable
A task you hand to an executor: a Callable is a lambda that returns a value, and a Runnable is one that returns nothing.