Cognizant interview question

Leap year program,GC in java,OOPS,AL,