Boolean Methods Flashcards
(2 cards)
1
Q
toString()
A
Converts a Boolean value to a string and returns the result
2
Q
valueOf()
A
Returns the primitive value of a Boolean object
toString()
Converts a Boolean value to a string and returns the result
valueOf()
Returns the primitive value of a Boolean object