


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















Adam Porter Sep 24, 2002
CMSC 433, Fall 2002 2
CMSC 433, Fall 2002 3
CMSC 433, Fall 2002 4
CMSC 433, Fall 2002 7
CMSC 433, Fall 2002 8
CMSC 433, Fall 2002 9
CMSC 433, Fall 2002 10
time
CMSC 433, Fall 2002 13
CMSC 433, Fall 2002 14
CMSC 433, Fall 2002 15
CMSC 433, Fall 2002 16
CMSC 433, Fall 2002 19
CMSC 433, Fall 2002 20
CMSC 433, Fall 2002 22
CMSC 433, Fall 2002 25
CMSC 433, Fall 2002 26
CMSC 433, Fall 2002 27
Enum static Enum inst static Enum inst EnumOp () (^) Enum
Enum EnumOp ()
EnumOp ()
data
data
data
Note: constructor is private
CMSC 433, Fall 2002 28
public class Suit { private final String name; private Suit(String name) { this.name = name; } public String toString() { return name; } public static final Suit CLUBS = new Suit(“clubs”); public static final Suit DIAMONDS = new Suit(“diamonds”); public static final Suit HEARTS = new Suit(“hearts”); public static final Suit SPADES = new Suit(“spades”); }
CMSC 433, Fall 2002 31
CMSC 433, Fall 2002 32
CMSC 433, Fall 2002 33
CMSC 433, Fall 2002 34
CMSC 433, Fall 2002 37
CMSC 433, Fall 2002 38
CMSC 433, Fall 2002 39
CMSC 433, Fall 2002 40