Does 'true' and 'false' are keywords?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is main a function?

508


what is the difference between a threads start() and run() methods? : Java thread

517


What is the relationship between class and object?

518


Explain about narrowing conversion in java?

562


How to sort array in descending order in java?

506






what is interface in java? Explain

525


What do you understand by access specifiers in Java?

580


Define how does a try statement determine which catch clause should be used to handle an exception?

577


What are the 5 types of research methods?

582


What about method local inner classes or local inner classes in java?

544


Why string is immutable with example?

526


A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.

534


Where is the singleton class used?

578


How do you find the absolute value?

556


Can we sort set in java?

531