Answer Posted / achal ubbott
e.g. Let there be a class
class Sample
{
};
suppose in main() you do like here
Sample obj1;
Sample obj2 = obj1; // Copy cons called here.
// then you call a function like this
fun(obj1); //Copy cons called here.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Can we create object of abstract class?
what type of question are asked in thoughtworks pair programming round ?
what are the realtime excercises in C++?
Why is encapsulation used?
What are two types of polymorphism?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
Please send ford technologies placement paper 2 my mail id
which feature are not hold visual basic of oop?
What is the purpose of polymorphism?
How does polymorphism work?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
Why is there no multiple inheritance?
What is methods in oop?
What are the advantages of polymorphism?
What is oops and its features?