--%>

Explain Enumerated type

Enumerated type: A data type-not directly accessible in Java - in which symbolic names are employed for a series of constant numeric values. They facilitate the evading of magic numbers. They can be simulated in the Java with fields in an interface, for example:

    public interface States {
        public static final int Stop = 0, Go = 1;
    }

Though, the compiler type checking generally available with the enumerated kinds is not accessible with this form.

   Related Questions in Programming Languages

  • Q : What are the uses of GPC and GPT What

    What are the uses of GPC and GPT?

  • Q : Technologies are used in AJAX Name the

    Name the technologies that are used in AJAX?

  • Q : What is an Internet Service Provider

    Internet Service Provider: It is an Internet Service Provider (abbreviated as ISP) gives connections to the Internet for users who do not contain their own network. The ISP gives such user with their own IP address which enables them to interact with

  • Q : Define the term Interface inheritance

    Interface inheritance: Whenever a class implements an interface, the interface inheritance relationship exists among them. The class inherits no implementation from interface, just method signatures and static variables. It is as well possible for one

  • Q : Define Loop variable Loop variable : A

    Loop variable: A variable employed to control the operation of a loop, like a for loop. Usually, a loop variable will be provided an initial value and it is then incremented after each and every iteration till it passes or reaches a terminating value.

  • Q : What does WSDL stand for What does WSDL

    What does WSDL stand for?

  • Q : State the term LDAP State the term LDAP

    State the term LDAP?

  • Q : Virtual memory used in Windows

    Explain why the virtual memory is to be used in Windows architecture?

  • Q : Define process group Define the process

    Define the process group?

  • Q : Explain String String: It is an

    String: It is an instance of the String class. A string comprises of zero or more Unicode characters, and they are not mutable or immutable, once formed. The literal string is written between a pair of string delimiters ("), as:

    Discover Q & A

    Leading Solution Library
    Avail More Than 1418370 Solved problems, classrooms assignments, textbook's solutions, for quick Downloads
    No hassle, Instant Access
    Start Discovering

    18,76,764

    1923208
    Asked

    3,689

    Active Tutors

    1418370

    Questions
    Answered

    Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!

    Submit Assignment

    ©TutorsGlobe All rights reserved 2022-2023.