Site Search:

Flash card list 1 -- card 7

Prev   Next

Which of the following StringBuilder methods have the same named String methods?
StringBuilder sb = new StringBuilder();
sb.length(), sb.append("a"), sb.toString(), sb.equals(sb), sb.charAt(0), sb.substring(0), sb.indexOf("a"), sb.delete(0,1), sb.insert(0,"a"),sb.deleteCharAt(0), sb.reverse()



String have the following method: length, toString, equals, charAt, substring, indexOf