Answer Posted / priya
Constructor gets called when we create an object,or when we
allocated memory using new operator:
void main()
{
test *t = new test;
delete t;
}
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What are the 3 principles of oop?
what are the different types of qualifier in java?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is object-oriented programming? Webopedia definition
What is an example of genetic polymorphism?
What is the main purpose of inheritance law?
What is the important feature of inheritance?
What is an advantage of polymorphism?
What is ambiguity in inheritance?
What is pure oop?
what is graphics
What is inheritance in simple words?
What is inheritance and how many types of inheritance?
What is the full form of oops?