Use of Constants and equals method