Cognizant interview question

Mostly about default java stack