package org.javaturk.oopj.ch13.enums.day;

public class Days {
	public static void main(String[] args) {
		
		String nameOfDay = Day.FRIDAY.name();
		System.out.println(nameOfDay);
		
		int ordinal = Day.TUESDAY.ordinal();
		System.out.println(ordinal);
		
		Day[] days = Day.values();
		for(Day day: days)
			System.out.println(day);
	}
}
