how do a main class call an app class java code example Example: main class java public static void main(String[] args) {}