Wipro interview question

Question related to Angualr and Java