Class MyUtil

public class MyUtil

Title: CS187 - Project 3

Description: Utility class

CGWU CS187 Design of User Interface

@author Grace (Eun H.) Cho

Version:
1.0
Constructor Detail

MyUtil

private MyUtil()
private constructor to prevent the instantiation

Method Detail

Max

public static int Max(int a,
                      int b)
Return the greater between two integers
Parameters:
a - int
b - int
Returns:
int

Min

public static int Min(int a,
                      int b)
Return the smaller between two integers
Parameters:
a - int
b - int
Returns:
int

Hosted by www.Geocities.ws

1