A possibly useless Java program