Core Java workshop 4