Accenture interview question

Basic java oops concepts. Simple for loop question