Which Of These Methods Is Used To Know Whether A String #540
Which of these methods is used to know whether a string contains “true”?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Exploring Java Lang Java IO - Java.lang - Boolean Wrapper Advance - Quiz No.1.
Which of these methods is used to know whether a string contains “true”?
valueOf()
valueOfString()
getString()
none of the mentioned