Should I memorize the String/StringBuilder methods for the exam?
posted 4 years ago
Will I be asked for String/StringBuilder methods in the OVA java7 exams? I do know what they do but I usually have a hard time memorizing their signatures....in practice I just keep a reference with me.
Yes, you should know the most commonly used methods from both classes. Because if you see some code snippet like StringBuilder sb = new StringBuilder(); sb.add("This is Java!"); you should know this won't compile.