Zensoft Services interview question

What is String buffer in java garbage collection oops concepts star pattern program one puzzle at last