Keywords Reserved word in java logo

Keywords/Reserved word in java Part . 7

Keywords/Reserved word in java

Keyword are the predefined word, It has some functionality (working) & its functionality (working) is register with jvm.

Total Reserved Keywords in java

48 keyword Related to………… 

1 – Datatypes/return types :-

     byte,short,int,long,float,double,char,Boolean,void 

2 – Access modifiers/security Related  :-

     private,public,protected,static,final,abstract,native,voatie,transient,synchronized,strictfp

3 – Flow controlling Related keywords  :-

      If,else,for,while,do,case,default,break,return,continue,switch,assert  

4 – Class Related keywords  :-        

      Class,extends,import,implements,interface,package,enum

5 – Object Related keywords :-

      this,super,new,instanceof

6 – Exception handling related keywords :-

      try,catch,throw,throws,finally

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.

Note :-

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

9 thoughts on “Keywords/Reserved word in java Part . 7

  1. Hello are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and create my own. Do you need any coding knowledge to make your own blog? Any help would be greatly appreciated!|

  2. Hi there, just became aware of your blog through Google, and found that it’s really informative. I’m gonna watch out for brussels. I will appreciate if you continue this in future. Many people will be benefited from your writing. Cheers!|

  3. Hi! This is my first visit to your blog! We are a team of volunteers and starting a new initiative in a community in the same niche. Your blog provided us beneficial information to work on. You have done a marvellous job!|

  4. We stumbled over here different page and thought I may as well check things out. I like what I see so now i’m following you. Look forward to looking into your web page again.|

Leave a Reply

Your email address will not be published. Required fields are marked *