I have a class that is Place that has a series of data, these I store in an array given that at the time of constructing the objects there can be several with it, so the idea is to go through the array but comparing at the level of reference.
How good is this practice in java? In the university we do use it but I've seen negative comments out there.