Table of Contents

Lesson 6

Objectives

Understand collections:

Documentation

Clasa Object
Colectii de obiecte
Java interview questions and answers

Exercises

Exercise 1

For the class diagram above:

Exercise 2

For the class diagram above:

Exercise 3

Create a new version for the application from previous exercise (with the same functionality) and replace ArrayList with a TreeSet.

Exercise 4