which are the 4 members functions in c++ objects that can
either be declared explicitly by programmer or implementation
if nt available.
Answers were Sorted based on User's Feedback
Answer / pramod
Zero Argument constructor,Copy Constructor,Assignment
Operator,Destructor
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / pramod
Sarita...
1)if i am not wrong...compiler never provides the
parametrized constructor. For example, you can try
this,simply create a parameterized object and don't specify
a parameterized constructor ( as per you say compiler will
provide one), it will generate an error.
2)zero argument constructor and default constructor are the
same things.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / dharmendra
default constructor , copy constructor & Destructor
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sarita
zero argument constructor,default constructor,perameterized
constructor,copy constructor
| Is This Answer Correct ? | 1 Yes | 7 No |
What is encapsulation in ict?
Write a program to reverse a string using recursive function?
What is data binding in oops?
what is virtual function?
what is difference between c++ language and java language
what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....
What is difference between multiple inheritance and multilevel inheritance?
Should you protect the global data in threads? Why or why not?
What is difference between function overloading and overriding?
What is namespace?
In multiple inheritance , to create sub class object , is there need to create objects for its superclasses??? in java and c++ both. Actually i have some information that is , all available members from its superclasses , memory created in subclass obj , so no need to create object for its superclasses...??? Thanks in Advance
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?