Question: What is output by the code below? String[] x; x = new String[7]; x[1] = go; x[4] = up; x[2] = by; System.out.println( x[1] );
What is output by the code below? String[] x; x = new String[7]; x[1] = "go"; x[4] = "up"; x[2] = "by"; System.out.println( x[1] );
A. by
B. up
C. go
D. null
E. at
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
