but when i use it , it compiles perfectly ?
what should be the answer ?
Hi amit,
I didn't get what you mean by saying the above statements.
Whether you use as a keyword or a identifier.
The best would be to write a program and give it to javac.exe.
The keywords are the special words that are not to be used as identifiers in any program.
I wrote a code to
test your question and my compiler(jdk1.2) barked.
CODE
------
<pre>
public class KeywordDemo
{
public static void main(String a[])
{
int strictfp = 1;
}
}
</pre>
So it means that "strictfp" is a keyword.
Hope this helps.
------------------
Regards
---------
vadiraj
*****************
There's a lot of I in J.
*****************
[This message has been edited by vadiraj vd (edited January 05, 2001).]