Return to Snippet

Revision: 36146
at November 18, 2010 20:34 by visudex


Initial Code
//Put this method at the end of your Tester Class

public static void print(Object obj)
{
    System.out.print(obj);
}

Initial URL

                                

Initial Description
Ever got tired of writing System.out.print(); all the time when testing, well, to avoid this, just create a helper method that will narrow it down to print();

Initial Title
Helper method to print to the console

Initial Tags
class, function

Initial Language
Java