Java Keywords

Q.  How many reserved keywords are currently defined in the Java language?
- Published on 22 Jul 15

a. 48
b. 49
c. 50
d. 47

ANSWER: 49
 

    Discussion

  • sahil   -Posted on 27 Sep 24
    yes now there are 50 reserved keywords are there so please update it
  • devendra chopra   -Posted on 07 Sep 17
    there are 48 reserved word in java currently used.
  • jyoti somani   -Posted on 31 Dec 16
    now there is one more added so now 50 keywords in java
  • Amandeep Singh   -Posted on 18 Dec 15
    there are 50 keywords in java language , not 49
  • Prajakta Pandit   -Posted on 15 Dec 15
    - 49 reserved keywords are currently defined in the Java language.

    - The Java reserved keywords are:
    abstractcontinuefornewswitch
    assertdefaultgotopackagesynchronized
    booleandoifprivatethis
    breakdoubleimplementsprotectedthrow
    byteelseimportpublicthrows
    caseenuminstanceofreturntransient
    catchextendsintshorttry
    charfinalinterfacestaticvoid
    classfinallylongstrictfpvolatile
    constfloatnativesuperwhile

    - The 'const' and 'goto' keywords are reserved and they are not currently used in. You cannot use these keywords as identifiers in your program.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)