← Quiz: OOP Interview Questions: all 10 questions
Quiz: OOP Interview Questions · Question 8 of 10
What are an object's identity, state and behaviour?
What are an object's identity, state and behaviour?
- A.Its class name, its package and its constructor
- B.Its fields, its methods and its interfaces
- C.Its parent, its children and its siblings
- D.Which object it is (its reference), its field values, and its methods
Answer & explanation
Correct answer: Which object it is (its reference), its field values, and its methods
Two objects can have equal state but different identity.
Can you get the rest right without peeking?
Take the timed Quiz: OOP Interview Questions quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →