0
Answer

String memory allocation

String is a reference type, then why it is stored on stack and not on heap