Vidyalelo
Java Programming · Q62

Interfaces and Abstract Classes

Programming · Java Programming · question 62

Q62

What will be the output of the following Java program? class Output public static void main(String args[]) String str = "true false"; boolean x = Boolean.parseBoolean(str); System.out.print(x);

A.
True
B.
False
Answer
C.
System Dependent
D.
Compilation Error

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board