1.What are the advantages and disadvantages of multiple inheritance? 2.What is a singleton class?3.What is a stream?
please answer my questions
Answers
Answered by
1
- advantage is that a class can inherit the functionality ofmore than one base class . But its disadvantage is that it can lead to alot of confusion when two bases classes implement a method with the same name.
- a singleton should be used when managing access to a resource which is shared by the entire application .
- a stream is a body of water with surface water flowing within the bed and banks of a channel.
Please mark me as brilliant
Similar questions