• 08 June

    Java enum with String

    In this quick tutorial, how to create String constants using enum, convert String to enum etc. You can go though complete enum tutorial here. Let’s create java enum String constants. Create java enum String package org.arpit.java2blog; public enum Weekdays { MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY } That’s pretty simple. Access enum by name You can […]

  • 02 September

    Java Enum tutorial with examples

    Java Enum is special data type which represents list of constants values. It is a special type of java class.  It can contain constant, methods and constructors  etc. Lets see example to understand better Let’s say we get three types of issues which require different SLA to get it fixed. Usually they are level 1,level […]

Subscribe to our newletter

Get quality tutorials to your inbox. Subscribe now.