3i Infotech Interview Question

Basics of c. Java. Oops question