// This variable cannot be accessed from outside the module private int a; // This variable can be freely accessed from outside public int b; // This function cannot be called from outside the module private void funA() { println("funA was called"); } // This function can be freely called from outside public void funB() { println("funB was called"); }