GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Source-Code-from-Tutorials/Java_Beginners/44_javaBeginners.java at master · h2k/Source-Code-from-Tutorials Expand file tree/ Copy path44_javaBeginners.javaMore file actions 28 lines (23 loc) · 621 Bytes / Copy path44_javaBeginners.javaFile metadata and controls28 lines (23 loc) · 621 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 public class apples { public static void main(String[] args){ for(tuna people: tuna.values()) System.out.printf("%s\t%s\t%s\n", people, people.getDesc(), people.getYear()); } } public enum tuna { bucky("nice", "22"), kelsey("cutie", "10"), julia("bigmistake", "12"); private final String desc; private final String year; tuna(String description, String birthday){ desc = description; year = birthday; } public String getDesc(){ return desc; } public String getYear(){ return year; } } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |