Does the constructor for the "Tenant" class have to look like this?
private String name;
private MyDate rentedFrom;
public Tenant(String name)
{
this.name = name;
}
or this?
private String name;
private MyDate rentedFrom;
public Tenant(String name)
{
this.name = name;
this.rentedFrom = null;
}