22 February 2006 19:30
![](https://blogmarks.net/screenshots/2011/11/24/42ae1cb7151ac08f95d64a575ecc0844.jpg)
MF Bliki: GetterEradicator
The general justification is that getters violate encapsulation. If I've got a bowler class with fields for overs, runs and wickets, then adding getters (getOvers, getRuns, getWickets) is little better than just making the fields public.
1
(1 marks)