Java-Keywords or Reserved Words /Chapter - 2 /Language Fundamental


javabychetan.blogspot.com



There are total 53 Keyword or Reserve words in java


keyword, java keywords

These Keywords are divided into 8 categories according to their acceptance.

1.Datatypes Related Keywords (8)



 byte 

 short

 int 

 long

 float

double

char

boolean 


2. Flow Control Related Keyword(11)



if

else

switch

case

while

do

default

break

continue

for

break

return

3.Modifiers Related Keyword(11)


public
private
protected
static
abstract
final
strictfp
native
synchronized
transient
volatile

4.Exception Handling Related Keyword(6)



try
catch
finally
throw
throws
assert

5.Class Related Keyword(6)


class
interface
extends
implements
package
import

6.Object Related Keyword(4)


new
super
this
instanceof

7.Return-Type Keyword(1)


void

8. Unused Keyword /Banned Keyword(2)


goto
const

No comments:

Post a Comment

Be the first to comment!

Don't just read and walk away, Your Feedback Is Always Appreciated. I will try to reply to your queries as soon as time allows.

Note:
1. If your question is unrelated to this article, please use our Facebook Page.
2. Please always make use of your name in the comment box instead of anonymous so that i can respond to you through your name and don't make use of Names such as "Admin" or "ADMIN" if you want your Comment to be published.

Regards,
JavaByChetan
Back To Home

Flipkart End Of Season Sale






© Copyright 2017 Javabychetan.blogspot.com