package pkg; public enum Signal{GET , SET, GO} ======================== class Import_Enum2 { public static void main(String... arg) { for(Signal ele : Signal.values()) { System.out.println(ele); } } }
public enum Signal{GET , SET, GO}
========================
class Import_Enum2
{
public static void main(String... arg)
for(Signal ele : Signal.values())
System.out.println(ele);
}
Oracle Certified Professional Java Programmer
Access: Public Instant Grading
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use.