Quiz
Prescreening
This quiz has a time limit, so it opens in the usual player.
Questions in this quiz (3)
1Which is not a method of the Object class?
- A.clone()
- B.compare()
- C.wait()
- D.finalize()
2If you choose to override Object.equals(), which other method must you override (if any)?
- A.clone()
- B.hashCode()
- C.toString()
- Dnone
3What function property is not correct for Object.equals()?
- Areflexive: A equals A
- Btransitive: if A equals B and B equals C, then A equals C
- Cnullable: if A is null and B is null then A equals B
- Dsymmetric: if A equals B, then B equals A
Information
- Description
- Preescreening
- Author
- flo.schoellhamme
- Language
- English
- Views
- 30
- Tags
- Rating
- No ratings yet Rate this quiz