1. When a new class is derived from an existing class, the derived class member functions _____ have names that differ from base class function names





Write Comment

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

Comments

Tags
Show Similar Question And Answers
QA->A static member function can have access to:....
QA->There are 50 students in a class. In a class test 22 students get 25 marks each, 18 students get 30 marks each. Each of the remaining gets 16 marks. The average mark of the whole class is :....
QA->In a class of 20 students the average age is 16 years.If the age of the class teacher is added to that of students,the average age of the class becomes 17 years.What is the age of the teacher?....
QA->Atoms ofthe same element, i. e., having the Same atomic number that differ in atomic Weight, are called-....
QA->Preposition adding to " differ "....
MCQ->What will be the output of the following program? #include<iostream.h> class Base { int x, y; public: Base() { x = y = 0; } Base(int xx) { x = xx; } Base(int p, int q = 10) { x = p + q; y = q; } void Display(void) { cout<< x << " " << y << endl; } }objDefault(1, 1); class Derived: public Base { Base obj; public: Derived(int xx, int yy): Base(xx, xx + 1) { } Derived(Base objB = objDefault) { } }; int main() { Derived objD(5, 3); Derived ptrD = new Derived(objD); ptrD->Display(); delete ptrD; return 0; }....
MCQ->When a new class is derived from an existing class, the derived class member functions _____ have names that differ from base class function names....
MCQ-> In the following passage some of the words have been left out. Read the passage carefully and choose the correct answer to each question out of the four alternative and fill in the blanksA though we can _____(I)
 _____ the _____(II)_____ bodies of our solar system _____(III)_____ a telescope, it is only _____(IV)_____ who can _____(V)_____ the depths of outer space. It is reported that they have seen _____(VI)_____ galaxies, stars taking _____(VII)_____ and _____(VIII)_____ black holes’. They say that the deeper they look _____(IX)_____ the universe, the more they know _____(X)_____ the universe originated.(I)
 ....
MCQ->The way a derived class member function can access base class public members, the base class member functions can access public member functions of derived class.....
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.....
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
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions