Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class DebuggingPrints
- {
- private static boolean debugging = true;
- public static void printLn(String line)
- {
- if (debugging)
- {
- System.out.println(line);
- }
- }
- public static void print(String text)
- {
- if (debugging)
- {
- System.out.print(text);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement