When a private constructer is being inherited from one
class to another class and when the object is instantiated
is the space reserved for this private variable in the
memory??
Answer Posted / karandeep malik
The question is very absurd. From where did we get the
variable stuff? And ya, how on earth do we get private
members/functions being inherited? Kamlesh is right in
saying that The whole idea stinks.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Why is there no multiple inheritance?
What is polymorphism explain?
What is oops in simple words?
What is object and class in oops?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is the real time example of inheritance?
Write a c++ program to display pass and fail for three student using static member function
What is oops and why we use oops?
• What are the desirable attributes for memory managment?
Why is polymorphism used?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
hi all..i want to know oops concepts clearly can any1 explain??
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
class type to basic type conversion
What is oops?what is its use in software engineering?