About Question enthuware.ocajp.i.v8.2.1444 :
Posted: Sat Dec 31, 2016 10:07 pm
Hi,
I would like to clarify the choice:
return new StringBuilder("xxxx").insert(0, fullPhoneNumber, 0, 8).toString();
From my understanding, I have a StringBuilder("xxxx"). Then, I insert the contents of fullPhoneNumber(from index 0 to 7) at the index 0 of the StringBuilder("xxxx")?
Thanks in advance!
I would like to clarify the choice:
return new StringBuilder("xxxx").insert(0, fullPhoneNumber, 0, 8).toString();
From my understanding, I have a StringBuilder("xxxx"). Then, I insert the contents of fullPhoneNumber(from index 0 to 7) at the index 0 of the StringBuilder("xxxx")?
Thanks in advance!