|
-
May 4th, 2004, 02:00 AM
#1
Member
Google usually helps
If you make a class that accepts object's as a parameter for its methods it should be able to handle all primitive types (in wrapper form).
Push (obj)
Pop (obj)
PeekTop (obj)
isEmpty (boolean)
clear (void)
size (int)
and you could use arrays or arraylists to implement those functions
hope that helped a bit
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|