Are there any useful shortcuts that can be used in Java?
As shown below, import
already adds at least 17 characters to a program.
import java.io.*;
import java.io.*;
I understand that the simple solution would be to use another language, but it seems to be a real challenge to shorten Java programs.
Tips should be specific to Java: if they're applicable to most C-like languages, they belong in the more general list of tips.