Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum EggItemType {
- Fire_egg,
- Water_egg,
- Grass_egg,
- Fighting_egg,
- Electric_egg,
- Dragon_egg,
- Pokemon_egg,
- Mystery_egg
- }
- public class Testing {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- for(int i=0; i<=EggItemType.values().length-1;i++){
- System.out.println(EggItemType.values()[i]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement