Expedia Group interview question

How will you identify references to an object in java api?