/**
 * Class with only a single, static method.  These types of classes are 
 * allowed (Math is an example of such a class).  However, you should not 
 * make new instances of them with the new command.
 *
 * Walker White
 * February 9, 2012
 */
public class StaticExample {
 
    /** Yields: the max of x and y */ 
    public static int max(int x, int y) {       
        // Swap x and y       
        // Put the max in x     
        if (x < y) {            
            int temp;             
            temp= x;           
            x= y;           
            y= temp;        
        }          
        
        return x;   
    }
    
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
    
}