Hi,I have a question ,which one is a better way to set constructor
public Employee(String name,double hours,double perHour,Date dateOfHire){
id=++count;
setName(name);
setHours(hours);
setPerHour(perHour);
this.dateOfHire=new Date();
}
or
public Employee(String name,double hours,double perHour,int day,int month,int year){
this(name, hours, perHour, new Date(day,month,year) );