Gayatri interview question

String and Array and OOPs