Ask Question
13 February, 04:58

Which of the following is an example of multiple inheritance?

a. Macintosh and IBM PC are both types of PCs

b. a computer can be a mainframe or a PC

c. a PC can be a desktop or a laptop

d. a laptop is both a PC and a portable device

e. a portable device is a lightweight device

+4
Answers (1)
  1. 13 February, 06:08
    0
    D) A laptop is both a PC and a portable device

    Explanation:

    In Object oriented programming multiple inheritance refers to a class or the object of a class inheriting multiple characteristics from more than one parent class. Bringing this idea to the scenario in this question, we see that a laptop shares several common characteristics and features of a PC as well as portable devices so this can be seen as an example of multiple inheritance.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which of the following is an example of multiple inheritance? a. Macintosh and IBM PC are both types of PCs b. a computer can be a ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers