Keywords/Reserved word in java
Keyword are the predefined word, It has some functionality (working) & its functionality (working) is register with jvm.
48 keyword Related to…………
1 – Datatypes/return types :-
2 – Access modifiers/security Related :-
3 – Flow controlling Related keywords :-
4 – Class Related keywords :-
5 – Object Related keywords :-
6 – Exception handling related keywords :-
Reserved words is also predefined word but it does not have any valid functionality and its functionality is not register with jvm.
Ex. :- const,goto (used in C++)but not used in java.
In java instead of “const” word we can use final keyword.
In java instead of “goto” word we can use break,continue,return keyword.
All the reserved word can’t be keywords.
Total Reserved word (53) but
Keywords ….50…. used keywords— 48—–unused keywords—-2(goto,const)
Reserved literals —– true,false,null These are not a keywords.
All keywords are in small letters.
Now Friends If you like this post please tell us how can we help you to provide better knowledge?
If this post is use full for you please share the post with your friends.
Please follow as facebook : www.facebook.com
Please follow as twitter : www.twitter.com
And more information please visit here : www.weindians.in
Please Subscribe on youtube : www.youtube.com