Java Programming culture strongly advise to hardly ever give access to properties, and alternatively, endure getters and setters, and only those which are actually necessary. In case you ever have to change the underlying implementation you are still no cost to refactor them as properties without the need of breaking https://builderfloorgreaternoida.blogspot.com/