Consider a class inheriting another class and 2 interfaces. Which of the following statements is true?

  1. .Net doesnot support multiple inheritance. Hence cannot inherit all the 3, results in error.

  2. .Net allows to inherit only 1 class and 1 interface, hence error.

  3. The class has to be inherited first and then the interfaces.

  4. The interface has to be inherited first then class.


Correct Option: C

Find more quizzes: