Tell what the derived class inherits or doesn''t inherit?, C/C++ Programming

Tell what the derived class inherits or doesn't inherit?

A: Inherits:

- All data member defined in the parent class (even though such members might not always be accessible in the derived class!)

- All ordinary member function of the parent class (though such members might not always be accessible in the derived class!)

- The similar initial data layout as the base class.

 Doesn't Inherit :

-  The base class's constructors & destructor.

- The base class's assignment operator.

- The base class's friends

 

Posted Date: 3/16/2013 2:54:44 AM | Location : United States







Related Discussions:- Tell what the derived class inherits or doesn''t inherit?, Assignment Help, Ask Question on Tell what the derived class inherits or doesn''t inherit?, Get Answer, Expert's Help, Tell what the derived class inherits or doesn''t inherit? Discussions

Write discussion on Tell what the derived class inherits or doesn''t inherit?
Your posts are moderated
Related Questions
Based on the automobile's model year and weight, the city of Cebu determines the car's weight class and registration fee using the following schedule: Model Year Registration

C Program for 5 FUNCTION OF VOWELS, CNT_WORDS, REVERSE void input(char a[]); void output(char a[]); void reverse(char a[], char b[]); char poli(char a[], char b[]);

replace character into string and return value of string that are replaced

A: Provided that function parameter is "const reference", compiler create temporary variable in following two ways. a) The actual argument is the correct type, however it isn't

Write a function that calculates the number of elapsed days between two dates. For example the days between Feb 3, 1970 and June 21, 1980? Becareful for the Leap year

Should my constructors employ "assignment" or "initialization lists"?

Both malloc & new functions are utilized for dynamic memory allocations & the basic difference is: malloc need a special "typecasting" while it allocates memory for eg. if the poin

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

How does an ERP System facilitates better decision making?

I have a Matlab assignment and I have the assignment description+ algorithm + and the output sample. the files are on a dropbox folder and you can download them from the link below