Core Java workshop 7