OCBC Interview Question

Java basic question Like asking string vs stringbuffer Design pattern Very easy