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 |
difine hierarchical inheritance.
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is public, protected, private?
What is this interview room ? Is it a class or an object.
write a program for function overloading?
14 Answers HCL, InfoCity, TATA,
Why do we use oops?
what are the realtime excercises in C++?
Why do we use polymorphism in oops?
monkey starts climbing up a tree 20ft tall,each hour ,it hops 3ft and slips back by 2ft .how much time it wil tak to reach top of the tree?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
what is the drawback of classical methods in oops?