This is a question I have had for a while now:
When does it make sense to expose a field publicly like so?
public class SomeClass() { public int backi
When does it make sense to expose a field publicly?
Among other places, on private classes as below.
public class MyOuterClass { private class MyInnerClass { public int val ; // why bother w/boiler plate } }