Cognizant Interview Question

String and String buffer and some programs related to mutable and immutable