public class BigSmall {
    // find the larger of two numbers
    private int num1, num2;

    //constructor
    public BigSmall( int num1, int num2 ) {
        this.num1 = num1;
        this.num2 = num2;
    }

    // return the larger number
    public int larger() {
        if (num1 > num2) {
            return num1;
        }
        return num2;
    }
}// BigSmall

