Amdocs Interview Question

String, StringBuffer and StringBuilder based question (not an easy one but based on absolute fundamentals)