IBM interview question

Java and full stack releted question