Quiz
Is this possible?
int twoDim [] [] = new int [4] [] ;
twoDim[0] = new int[1];
twoDim[1] = new int[3];
twoDim[2] = new int[5];
twoDim[3] = new int[7];
When you pass a String to a method, is it by value or by reference?
Which of the following lines of code is not valid?
String x = “234” ;
String y = “345” + x;
String myAddStr = x + y ;
String mySubStr = x - y ;