Cognizant interview question

mostly in core java, and some specific technologies if I knew.