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

What is an example of procedure?

0 Answers  


What is the gregoriancalendar class in java programming?

0 Answers  


Why is singleton not thread safe?

0 Answers  


What are the actions that can occur when a thread enters blocked state?

0 Answers  


Is break statement can be used as labels in java?

0 Answers  






What is compile time polymorphism?

20 Answers   CTS, Elementus Technologies, Oracle,


what is aggregation in java?

0 Answers   IBS,


How can you sort dates?

2 Answers   TCS,


How can a gui component handle its own events?

0 Answers  


What are thread local variables?

0 Answers  


What is native code?

0 Answers  


What are three ways in which a thread can enter the waiting state in java programming?

0 Answers  


Categories