Abhiwan Technology interview question

Based on String And Array in Java