Friday, 19 August 2016

Java - Reserved words

1. Reserved Words
  • Reserved words means the names which already exists in Java programming language.
  • Suppose, i reserved a bus ticket (please don’t ask what is the cost of ticket), so after seat got reserved, it will not allocate to anyone in my presence.
same like, 
1. Java Team has got reserved 53 words in java, to do a specific task and purpose.
2. These words we cannot be used as identifiers means( e.g variable names, method names, class names )
Note
You will learn about every reserved word while going through corresponding chapter.



Note 
all reserved words names should be lowercase only.
List table of Java reserved words: 53

Primitive 
words
Flow 
control 
words
Access 
modifiers 
words
Exceptional 
Handling
words
class 
related 
words
object 
related 
words
return 
type 
words
unused 
words
reserved 
literals 
words
byte
if
public
try
package
new
void
goto
true
short
else
private
catch
import
this

const
false
int
do
protected
finally
class
super


null
long
while
final
throw
interface
instanceof



float
for
abstract
throws
extends




double
switch
static 
assert
implements




char
case
synchronised

enum




boolean
default
strictfp







break
native







continue
transient







return
volatile







8
11
11
6
7
4
1
2
3    

Thanks for your time.
- Nireekshan