The only place it's used is in the
Java Reflection API. There's a class java.lang.reflect.Method, which Java uses to represent a Java method. You can ask a Method object what its return type is. It answers by returning a Class object. The Void class contains the constant Void.TYPE which is used to represent "void" in this context. That's it -- you're actually not allowed to create an instance of Void, so there's really nothing else this class can be used for.
[ November 05, 2004: Message edited by: Ernest Friedman-Hill ]