πŸ“Š JAVA
Q. If class Dog has a subclass Retriever, which of the following is true?
  • (A) Because of single inheritance, Dog can have no other subclasses.
  • (B) Because of single inheritance, Retriever can extend no other class except Dog.
  • (C) The relationship between these classes implies that Dog “is-a” Retriever.
  • (D) The relationship between these classes implies that Retriever “has-a” Dog.
πŸ’¬ Discuss
βœ… Correct Answer: (B) Because of single inheritance, Retriever can extend no other class except Dog.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
221
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
97%
Success Rate