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 / reejusri
Neha, your question is not proper, please edit that. Some
where inheritance of private constructor and some where
private variable.
Please edit it so that people can help you.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is coupling in oops?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is class encapsulation?
#include
What is abstract class in oops?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is a class oop?
What is the types of inheritance?
What is the purpose of polymorphism?
Why do we use class?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Can destructor be overloaded?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
Can static class have constructor?