Cognizant interview question

they asked me about the object referencing in java