Does 'true' and 'false' are keywords?

Answers were Sorted based on User's Feedback



Does 'true' and 'false' are keywords?..

Answer / ashoknew@gmail.com

No. true and false are literals.

Is This Answer Correct ?    9 Yes 0 No

Does 'true' and 'false' are keywords?..

Answer / vijayakumar chinnasamy

true and false are literal constant in java.there is no
numeric value for true and false like 1 and 0 or char value
T and F.

Is This Answer Correct ?    4 Yes 0 No

Does 'true' and 'false' are keywords?..

Answer / sudhakar

true and false are not keywords. Those literals

Is This Answer Correct ?    1 Yes 0 No

Does 'true' and 'false' are keywords?..

Answer / javachi

These are not keywords, we may use this to define for boolean values as literals.

Is This Answer Correct ?    2 Yes 1 No

Does 'true' and 'false' are keywords?..

Answer / raman

yes

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More Core Java Interview Questions

How can you add and remove nodes in jtree?

0 Answers  


Explain about join() method?

0 Answers  


What are the differences between heap and stack memory?

0 Answers  


Why string is popular hashmap key in java?

1 Answers  


what is j2se

3 Answers  






why we use merge option in hybernate pls give a ex snippet

0 Answers   CoreObjects,


What is hashtable and explain features of hashtable?

0 Answers  


can you create interface instance ?

54 Answers   Fidelity, TCS,


Write a method that will remove given character from the string?

0 Answers  


What is a line separator in java?

0 Answers  


How do you sort arrays in java?

0 Answers  


in a console we r giving java <class name> if r pressing enter where it'll goes

2 Answers   CSC,


Categories