This could be the dumbest question ever asked but I think it is quite confusing for a Java newbie.
Once instanciated, cannot be altered. Consider a class that an instance of might be used as the key for a hashtable or similar. Check out Java best practices.