Prescreening

Description

Preescreening
flo.schoellhamme
Quiz by flo.schoellhamme, updated more than 1 year ago
flo.schoellhamme
Created by flo.schoellhamme almost 9 years ago
9
0

Resource summary

Question 1

Question
Which is not a method of the Object class?
Answer
  • .clone()
  • .compare()
  • .wait()
  • .finalize()

Question 2

Question
If you choose to override Object.equals(), which other method must you override (if any)?
Answer
  • .clone()
  • .hashCode()
  • .toString()
  • none

Question 3

Question
What function property is not correct for Object.equals()?
Answer
  • reflexive: A equals A
  • transitive: if A equals B and B equals C, then A equals C
  • nullable: if A is null and B is null then A equals B
  • symmetric: if A equals B, then B equals A
Show full summary Hide full summary

Similar

HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Translations and transformations of functions
Christine Laurich
Useful String Methods
Shannon Anderson-Rush
Historical Development of Computer Languages
Shannon Anderson-Rush
Flvs foundations of programming dba 2
mariaha vassar
Python Quiz
karljmurphy
computer systems and programming quiz
Molly Batch
Think Python
tsilvo2001
C Programming
Miki Rana
AQA Biology B2 Questions
Sian Griffiths
AQA Biology B1 Questions
Bella Statham