123456789101112131415161718 |
- package main;
-
- public class Driver{
-
- public static void main(String[] args) {
- Driver d = new Driver();
- d.doStuff();
- d.doOtherStuff();
- }
-
- private void doOtherStuff() {
- //System.out.println("doing other stuff");
- }
-
- private void doStuff() {
- //System.out.println("doing stuff");
- }
- }
|