getDate() demonstrate how Class can be immutable and non immutable