The most important things you need to know how to do for midterm exam 2:
Here are a couple of sample problems:
int z = 5;
int[] x = {10, 20, 30, 40};
int[] y;
String s = "abc def";
String[] t = {"xyz", "uvw", "abcdefg"};
String[] u;
y = x;
x[2] = 7;
z = y[2];
u = t;
u[0] = s;
s = t[2];