Vidyalelo
Computer Science · Q276

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 276

Q276

What three methods does this class have? class Person

A.
equals(), hashCode(), and toString()
Answer
B.
equals(), toHash(), and super()
C.
print(), println(), and toString()
D.
clone(), equals(), and super()

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board