Cognizant Interview Question

Mostly about default java stack