MITYUNG Infotech Interview Question

question came from array , start pattern and from oops.