wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes keyword variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "keyword variable" Watch "keyword variable" New topic

keyword variable

Arnb Sen
Ranch Hand

Joined: Feb 23, 2004
Posts: 145
Hi All,

Is it possibe to use keywords as ordinary variables ? In general, we cannot use it but either some special keywords or keywords in some special way can be reused as a variable. Is this correct ?

Regards,<br />Arnab
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24183

Nope. You can't use keywords as variables in Java.

[Jess in Action][AskingGoodQuestions]
Arnb Sen
Ranch Hand

Joined: Feb 23, 2004
Posts: 145
I agree. Here's the link: http://aspose.com/file-tools
subject: keyword variable
Similar Threads
Difference between identifier and keyword
reserved and keywords
are these keywords ?.....
keywords and reserved word
Reserved words in Java