List of java key words : In Java keywords are the words whose meaning has been already explained to the java compiler. The keywords cannot be used as variable names because if we do so we are trying to assign a new meaning to the keyword, which is not allowed by the compiler. Java has 50 keywords. List of java keywords is given below.
The list of Java Keywords in table format for reference :
The keywords const and goto are reserved for future usage, even they are not currently in use.
Note : in java true, false and null look like keywords, but in actual they are literals.
No comments:
Post a Comment
Hello Buddy, if you have any doubts or need any clarification , feel free to comment. Thanks.