Java program examples used by Bit academy