14 lines
359 B
Java
14 lines
359 B
Java
//: hiding/OrganizedByAccess.java
|
|
// ©2015 MindView LLC: see Copyright.txt
|
|
|
|
public class OrganizedByAccess {
|
|
public void pub1() { /* ... */ }
|
|
public void pub2() { /* ... */ }
|
|
public void pub3() { /* ... */ }
|
|
private void priv1() { /* ... */ }
|
|
private void priv2() { /* ... */ }
|
|
private void priv3() { /* ... */ }
|
|
private int i;
|
|
// ...
|
|
} ///:~
|