AP Computer Science Amediummcq1 pt
Which statement is true about the equals method?
A.It is inherited from Object and can be overridden
B.It exists only in String
C.It cannot be overridden
D.It is static
Object provides equals by identity.
AIt is inherited from Object and can be overridden
Practice more AP Computer Science A questions with full explanations
Practice Unit 9: Inheritance Questions →