package demoEnum;

class TestEnum {
	enum Switch { ON, OFF }
	public static void main(String[] args) {
		Switch hallLight = Switch.ON;
		if (hallLight==Switch.ON) System.out.println("I can see!");
		else System.out.println("It's dark here!");
	}
}
