What are keywords?

September 21st, 2007 by uCertify Leave a reply »

Every computer language uses some reserved words known as keywords. They are an essential part of the language. In Java, keywords are defined in lower case and cannot be used as identifiers. The table below shows the list of keywords used in the Java language:

abstract assert boolean break byte case catch
char class const continue default do double
else extends final finally float for goto
if implements import instanceof int interface long
native new package private protected public return
short static strictfp super switch synchronized this
throw throws transient try void volatile while
enum

The keywords ‘const’ and ‘goto’ have not yet been implemented in Java. Java has reserved them for use in future expansion of the language.

Note: In addition to the keywords shown in the table, Java reserves the boolean values (true and false) and the reference value (null) for its own use.

  • Share/Bookmark
Advertisement

Leave a Reply

uCertify.com | Our Company | Articles | Contact Us | News and Press Release | uCertify India | Entries (RSS)
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD    Cisco Certification: CCNA, CCENT    A+, Network+, Security+ Project+
Oracle Certification: OCP 11g, OCP 10g, OCA 11g, OCA 10g    CIW foundation    EC-212-32,    CISSP    Photoshop ACE CS4    Adobe Flash ACE, PMP, CAPM
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.