Java exam #2 at softuni on May.25.2014