answersLogoWhite

0

As of Java 1.5, there are 50 keywords defined, 48 of which are used (const and goto are unusable keywords).

  1. abstract
  2. continue
  3. for
  4. new
  5. switch
  6. assert
  7. default
  8. goto
  9. package
  10. synchronized
  11. boolean
  12. do
  13. if
  14. private
  15. this
  16. break
  17. double
  18. implements
  19. protected
  20. throw
  21. byte
  22. else
  23. import
  24. public
  25. throws
  26. case
  27. enum
  28. instanceof
  29. return
  30. transient
  31. catch
  32. extends
  33. int
  34. short
  35. try
  36. char
  37. final
  38. interface
  39. static
  40. void
  41. class
  42. finally
  43. long
  44. strictfp
  45. volatile
  46. const
  47. float
  48. native
  49. super
  50. while
User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What are the keywords not used in java?

You can find a list of Java keywords in the Wikipedia article "List of Java keywords". These keywords may not be used for variables or other user-defined names.


What are user defined keywords in java?

As far as I know, keywords are part of the implementation of Java, and cannot be defined or redefined.


What is the case for Java keywords?

uppercase


Are true false and null Java keywords?

True and false are literals(special built-in value) in java and cannot be used as keywords.


Are keywords also known as metadata?

No. Keywords are not called or known as Metadata in Java


What is the meaning of new keyword in java?

There is 48 reserved keywords currently defined in the java language. These keywords, combined with the syntax of the operators and separators,form the definition of the java language. these keywords can't be used as names for a variable,class or method. (chandramohan singh)


Scanf in java?

There is no scanf in Java. It is one of the keywords used in C Programming language


What does the verify keyword do in Java?

"verify" is not a Java keyword. I believe the link, in related links, has the complete list of Java keywords.


What is the return type of finally method in java?

The final and finally keywords have no impact on the return type of a method in Java.


How many keywords in java 1.7?

abstract assert boolean break case catch char class const continue default


Give some examples of keywords?

Java KeywordsabstractassertbooleanbreakbytecasecatchcharclassconstcontinuedefaultdodoubleelseenumextendsfinalfinallyfloatforgotoifimplementsimportinstanceofintinterfacelongnativenewpackageprivateprotectedpublicreturnshortstaticstrictfpsuperswitchsynchronizedthisthrowthrowstransienttryvoidvolatilewhileThe Java Language Specification makes a special note of the "goto" and "const" keywords:The keywords const and goto are reserved, even though they are not currently used. This may allow a Java compiler to produce better error messages if these C++ keywords incorrectly appear in programs. C++ Keywordsandand_eqasmautobitandbitorboolbreakcasecatchcharclasscomplconstconst_castcontinuedefaultdeletedodoubledynamic_castelseenumexplicitexportexternfalsefloatforfriendgotoifinlineintlongmutablenamespacenewnotnot_eqoperatororor_eqprivateprotectedpublicregisterreinterpret_castreturnshortsignedsizeofstaticstatic_caststructswitchtemplatethisthrowtruetrytypedeftypeidtypenameunionunsignedusingvirtualvoidvolatilewchar_twhilexorxor_eq


How many bits does a Java char contain?

16 bits. Java char values (and Java String values) use Unicode.