Core Java workshop 6