Expedia Group Interview Question

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