aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes A very basic ques... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "A very basic ques..." Watch "A very basic ques..." New topic
Author

A very basic ques...

Usha
Greenhorn

Joined: Jun 08, 2001
Posts: 4
Can someone explain the difference between a Keyword and a reserved word??
sushant
Greenhorn

Joined: Apr 21, 2000
Posts: 26
hi,
A keyword is a specially assigned word which can be used in programming like if,while,etc. whereas a reserved word is a keyword which is kept reserved so that it cannot be used during normal programming like goto,strictfp,widefp,etc.
Dont worry the exam only asks u to find which are java keywords i.e. java keywords and java reserved words.
hope this helps,
sushant.
Mohan Ramanna
Ranch Hand

Joined: Jun 26, 2000
Posts: 36

Java unitll know has 48 words which are reserved for
the usage in the language syntax which are referred to has
keywords and hence u cant use them as user defined variables.
Java has some keywords which are untill now not used as
keywords that is they r reserved for future use.
They r referred to as reserved words.
hence reserved words r java keywords for future reference.
-mohan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A very basic ques...