1.

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​

Answer»
  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.
  2. a singleton should be used when managing access to a resource which is SHARED by the entire application .
  3. a stream is a body of water with surface water flowing within the bed and banks of a channel.

Please mark me as brilliant



Discussion

No Comment Found