Among the things that you should know:
Examples (where k, m, x, etc., are variables whose data types and values would be indicated on the test):
5 + k * 8 | k / 4 | (k+3) % m | 5 * 2.5 |
(char)('A' + 4) | (double)(k - 2) | (3 * k) / m * x | Math.abs(k) |
x <= y + 5.8 | k != N && j > 0 | !(k == N || j == 0) | Math.pow(Math.max(x,y),3)) |
s.charAt(k+2) | s.substring(k,m) | (s+t).length() |
s + t.substring(k) | s.indexOf('A') | s.substring(s.indexOf(','), s.lastIndexOf(' ')) |