In API
\"The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void.\"
Another example for using Void is SwingWorker
Void
SwingWorker
new SwingWorker () { @Override protected Void doInBackground(){ ... } @Override protected void process(List chunk){ ... } @Override public void done(){ ... } }.execute();