Question: Question 15 This program won't compile and run. Why? public class JavaProgram public static void main( String I args) int x - 1 if (x)
Question 15 This program won't compile and run. Why? public class JavaProgram public static void main( String I args) int x - 1 if (x) System.out printin( "true"); System.out.printin( ? ); 1. There is no else ll. There are no braces 0 around the true block. Il. The test expression is invalid. @ A I only ??. ll only C lll only D I and Il only t and iIll only
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
