The same question in code:
class Foo {
int getIntProperty () { ... }
CustomObject getObjectProperty () { ... }
void setIntProperty (int i) { ... }
void setObjectProperty (CustomObject obj) { ... }
//any other methods with default access level
}
VS
class Foo {
public int getIntProperty () { ... }
public CustomObject getObjectProperty () { ... }
public void setIntProperty (int i) { ... }
public void setObjectProperty (CustomObject obj) { ... }
//any other methods with public access level
}