The equals method for a class should have _________ as the type of its one parameter.
A) String
B) Object
C) Integer
D) Double
Correct Answer:
Verified
Q6: Inheritance refers to a very specialized form
Q6: What does a derived class automatically inherit
Q8: A method or instance variable modified by
Q9: The keyword extends indicates:
A)encapsulation
B)polymorphism
C)inheritance
D)none of the above
Q11: In using the keyword this in place
Q12: The Object class contains the method:
A)getClass()
B)toString()
C)equals()
D)all of
Q14: The class _ is an ancestor class
Q15: When you define a derived class,you give
Q15: If the final modifier is added to
Q20: A derived class contains only public instance
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents