Question Set

1. Multiple inheritance is different from multiple levels of inheritance.



Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

  • By: guest on 01 Jun 2017 06.04 pm
    Multiple inheritance means deriving a class from more than one classes. On the other hand, multiple levels of inheritance means a class has been derived from a base class and the base class itself has been derived from another base class. Multiple inheritance is not permitted in C#.NET.
Show Similar Question And Answers
QA->Different forms of the same element with different physical appearances are known as?....
QA->Which is a significant contributor to increased levels of atmospheric carbon dioxide?....
QA->The electronic circuit which works only on two voltage levels (0 and 1) is called?....
QA->Voltage levels in a circuit is either represented by?....
QA->The Ozone Belt is situated at levels between _____ Kms above atmosphere?....
MCQ->Multiple inheritance is different from multiple levels of inheritance.....
MCQ->Which of the following statements are correct about Inheritance in C#.NET? A derived class object contains all the base class data. Inheritance cannot suppress the base class functionality. A derived class may not be able to access all the base class data. Inheritance cannot extend the base class functionality. In inheritance chain construction of object happens from base towards derived.....
MCQ->Which of the following statements are correct about the C#.NET code snippet given below? namespace IndiabixConsoleApplication { class index { protected int count; public index() { count = 0; } } class index1: index { public void increment() { count = count +1; } } class MyProgram { static void Main(string[] args) { index1 i = new index1(); i.increment(); } } } count should be declared as public if it is to become available in the inheritance chain. count should be declared as protected if it is to become available in the inheritance chain. While constructing an object referred to by i firstly constructor of index class will be called followed by constructor of index1 class. Constructor of index class does not get inherited in index1 class. count should be declared as Friend if it is to become available in the inheritance chain.....
MCQ->There is no multiple inheritance in C#.NET. That is, a class cannot be derived from multiple base classes.....
MCQ->A basket contains different kinds of fruits,vegetables and sweets.Paul can select one of 6 different fruits,one of three different flowers and one of four different sweets.How many combinations can Paul make to select fruits,flowers and Sweets?....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution