RESERVED WORDS:
In java the words which are having fixed functionalities or fixed Values are called as reserve words.
Total Number of reserve words =53.
Category of Reserve Words:
1.Keywords---> The words which are having fixed Functionalities.
2. Literals (Constant)---->The words which are having fixed Values .(3)---- i) true ii) false iii) null.
NOTE: all the reserved words (Keywords and Literals) are in small letters.
Keywords:
(i) Datatype related :- byte ,short,int ,long,float,double,char,boolean.
(ii) Flow Control Related Keywords:- if ,else ,switch,case ,default,continue,break,for,while,do while.
(iii) Method Related Keywords:- void ,return.
(iv)Unused keywords:goto ,const.
(v)New Keywords:assert,enum.
(vi)exception handling Keywords:try,catch,finally,throws,throw.
(vii)Class Related keywords :class,extends,interface,implements,pacakage,import.
(viii) Object Related Keywords: this,new,super,instanceof.
(ix) Modifier: public,private,protected,final,static,abstract,synchronised,transient,native,volatile,strictfp.
The total number of modifier available in Java 11, if we are considering default it will be 12.
(Q) HOW MANY IDENTIFIERS ARE AVAILABLE IN THIS PROGRAM:
class Ltbp
{
public static void main (String [] args)
{
System.out.println(“Hi”);
}
}
Answer : Ltbp,main,args,String,System,out,println. Total 7 identifier.
NOTES
Out ---> it is predefined Object Reference. (in other words, it is variable Name).
------------------------------------------------------------------------------------------------------------------------
Q.2
class Ltbp
{
public static void main (String [] args)
{
int a =10;
}
}
Answer : Ltbp,main,String,args,a. (Total 5 )
Blackjack, Live Dealer and Table Games - Mapyro
ReplyDeleteThe main 광주광역 출장샵 menu of this game 고양 출장안마 is 목포 출장샵 Blackjack, where players have the option 여수 출장마사지 to take turns and make 영주 출장샵 one or two hands each. This option is