# Java programming object terminology

Say there is a class called Person. Then in the following expression :

Person human = new Person()

Which is the "reference" and which is the "object"?

human should be the reference since it's not an actual object, it simply points to an object. On the other side, new Person() truly is the actual object. I've seen these terms used vice versa and I was wondering what's the actual naming?

• Welcome to COMPUTER SCIENCE @SE. What does The Java Language Specification specify for the new operator? Does it specify the "object" to appear in a reference assignment? (consider tagging terminology) – greybeard Oct 9 '20 at 5:11
• Hi, I believe this is a programming question. Programming questions should be asked on stackoverflow.com, not on cs.stackexchange.com. – Zachary Vance Oct 12 '20 at 4:41