Join The Discussion

Comments ( 6 )

  1. Devi Kalyani
    Devi Kalyani :
    3 months ago

    Any constant value which can be assigned to the variable is called literal/constant
    eg: int x=100; //here 100 is literal
    boolean b=true; // here true is literal

  2. Devi Kalyani
    Devi Kalyani :
    3 months ago

    Any constant value which can be assigned to the variable is called literal/constant
    eg: int x=100; //here 100 is literal
    boolean b=true; // here true is literal

  3. Aditya Vaste
    Aditya Vaste :
    11 months ago

    Actually There a 53 "Reserved Words" are there in java (not keywords)

    That 53 "Reserved Words" in java and they are divided into two categories...
    1) Keywords (48)
    2) Reserved Literals (3)

    that 3 "Reserved Literals" are true,false,null.
    And keywords are like if,else,break......( And further you know very well )

  4. Md Mahabul
    Md Mahabul :
    2 years ago

    please explain it
    I known that it is a keyword

  5. Kkk Shaikh
    Kkk Shaikh :
    2 years ago

    What logic will used

  6. Aman Sharma
    Aman Sharma :
    3 years ago

    how this is possible??

Related Questions on Data Types and Variables