fork(8) download
  1. public class Main {
  2. enum WORKDAYS { Monday, Tuesday, Wednesday, Thursday, Friday; }
  3.  
  4. public static void main(String[] args) {
  5. System.out.println(WORKDAYS.values().length);
  6. }
  7. }
Success #stdin #stdout 0.07s 380160KB
stdin
Standard input is empty
stdout
5