Question: Which of the following statements are true? Select the two correct answers. (a) A class can be extended by only one class. (b) Every Java
Which of the following statements are true?
Select the two correct answers.
(a) A class can be extended by only one class.
(b) Every Java object has a public method named equals.
(c) Every Java object has a public method named length.
(d) A class can extend any number of classes.
(e) A non-final class can be extended by any number of classes.
Step by Step Solution
3.41 Rating (164 Votes )
There are 3 Steps involved in it
b and e The Object class has a public method named equals but it does not ... View full answer
Get step-by-step solutions from verified subject matter experts
