September 2002
Intermediate to advanced
608 pages
14h 20m
English
// Conference.java
package nfl.original;
/** This class provides numeric constants to represent the
* NFL Conferences, and Strings associated with each
* conference.
*/
public class Conference
{
public final static int AFC = 0;
public final static int NFC = 1;
public static String getName(int i) {
if (i == NFC) return "NFC";
else if (i == AFC) return "AFC";
else return "INVALID";
}
}
Read now
Unlock full access