ExamVeda
Login
Home
Data Types and Variables
?

In Java, the word true is ................

Answer & Solution
Correct Answer: Option B
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

6 Comments
Devi Kalyani
Devi Kalyani 4 years ago
Any constant value which can be assigned to the variable is called literal/constant
eg: int x=100; //here 100 is literal
boolean b=true; // here true is literal
Devi Kalyani
Devi Kalyani 4 years ago
Any constant value which can be assigned to the variable is called literal/constant
eg: int x=100; //here 100 is literal
boolean b=true; // here true is literal
Aditya Vaste
Aditya Vaste 5 years ago
Actually There a 53 "Reserved Words" are there in java (not keywords)

That 53 "Reserved Words" in java and they are divided into two categories...
1) Keywords (48)
2) Reserved Literals (3)

that 3 "Reserved Literals" are true,false,null.
And keywords are like if,else,break......( And further you know very well )
Md Mahabul
Md Mahabul 6 years ago
please explain it
I known that it is a keyword
Kkk Shaikh
Kkk Shaikh 6 years ago
What logic will used
Aman Sharma
Aman Sharma 7 years ago
how this is possible??