Monday, 8 August 2016

Keywords / Reserved Words


1.       Keywords / Reserved Words:-
Keyword is a predefined word having both word reorganization and Internal functionality.
Reserved word is a predefined word having only word reorganization and not having internal functionality
Ex:-
>>goto, Const
To prepare java applications, JAVA has provided the following list of keywords.

Data Type and Return Types:-  
>>byte, short, int, long, float, double, boolean, char, void.

Access Modifiers  
>>public, protected, private, static, final, abstract, native, volatile, transient, Synchronized, strictfp, ………….

Flow Controllers
>>if, switch, case, default, for, while, do, break, continue, return,……

class/Object related:
>>class, extends, interface, implements, enum, new, this, super, package, import, …

Except handling:
>>throw, throws, try, catch, finally, …………

No comments:

Post a Comment