Question: What is the output of the following Java code? ____________________ public class Quizzes { public static void main(String args[]){ String string1 = 243; String string2
What is the output of the following Java code? ____________________ public class Quizzes { public static void main(String args[]){ String string1 = "243"; String string2 = "true"; String string3 = "24.1" ; boolean results = (Boolean.parseBoolean(string2) && false); System.out.println(results); } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
