author and iconoclast
posted 10 years ago
Java has the reflection API, which allows a running JVM to ask about the classes it contains, and about their methods and their fields. If you ask the reflection API what type a void method returns, it will return the static field Void.TYPE . That is the only purpose of the Void class.