P
Q. What will be the output of the following Java program?
class Output
{
public static void main(String args[])
{
String str = "true";
boolean x = Boolean.valueOf(str);
System.out.print(x);
}
}
- Correct Answer - Option(A)
- Views: 38
- Filed under category JAVA
Discusssion
Login to discuss.