A.
sb.deleteAll();
B.
sb.delete(0, sb.size());
C.
sb.delete(0, sb.length());
D.
sb.removeAll();
Risposta C:
StringBuilder sb=new StringBuilder();
sb.append("pippo");
sb.delete(0,
sb.length());
System.out.println(sb.toString());
Hi,according to the code, the answer is C...
RispondiEliminaOoops,
RispondiEliminaGiovanni you're absolutely right!!
thank you very much.