Quote:
As I dont whish to initialize like this...
// Create as many Employee objects as you need
Employee emp1 = new Employee ("lastName1", "firstName1");
Employee emp2 = new Employee ("lastName2", "firstName2");
[...]
As this will become hardcoded... you will never know how many empolyees needed to be initialize... assume that there are a lot of employees and the above method might not be a good choice to do it.
It doesn't matter. It was just an example. Nothing changes, but the way you create each Employee object: you can read them from a file or a database, or from whatever you want.