Question: JAVA question! #7&8 Please do this question step by step in a piece of paper because I want to know how everything work in this
7) STRINGS Q: What gets printed? public class M4 public static void main( String [ args) int String s2 B or not 2 B"; String a[]S. Split (" +" ); // splits on i = 0; one or more spaces System.out.println( s.charAt(2) ) for (i = 0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
