There is no requirement in the Java language to use getters and setters.

But why are there so many of them?