Basics of Encapsulation in java Unknown 00:06 Java No comments public class En { enum Season { WINTER, SPRING, SUMMER, FALL; } public static void main(String ar[]) { Season s=Season.FALL; System.out.println("The Season is : "+s); } } Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment