Does 'true' and 'false' are keywords?

Answer Posted / javachi

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

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an integer be a string?

505


Which is faster call by value or call by reference?

497


Name few java.lang classes introduced with java 8 ?

531


What exceptions occur during serialization?

602


What flag up means?

593






What is the effect of keeping a constructor private?

469


Write a function for palindrome and factorial and explain?

648


What is ph and buffers?

516


Can classes declared using the abstract keyword cab be instantiated?

552


Why char array is favored over string for the storage of passwords?

553


What are advantages and disadvantages of OOPs?

619


Explain about interrupt() method of thread class ?

656


What is compareto?

536


What is set string?

586


Differentiate storage classes on the basis of their scope?

666