// access/debug/Debug.java // TIJ4 Chapter Access, Exercise 3, page 220 /* Create two packages: debug and debugoff, containing an identical class with a * debug() method. The first version displays its String argument to the console, * the second does nothing. Use a static import line to import the class into a test * program, and demonstrate the conditional compilation effect. */ /* In directory access/debugoff: * // access/debugoff/Debug.java * package access.debugoff; * * public class Debug { * public static void debug(String s) { } * } */ package access.debug; public class Debug { public static void debug(String s) { System.out.println(s); } }