CDK Global Interview Question

How StringBuffer maintains mutability?