When will a constructor executed?

Answer Posted / rahul

When an object create means suddenly construtor get executed

Is This Answer Correct ?    22 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use oop?

605


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4243


What is interface in oop?

664


What are the benefits of oop?

607


What is protected in oop?

604






Why do we use encapsulation in oops?

522


How is polymorphism achieved?

587


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1542


What is the importance of oop?

612


What are the three main types of variables?

600


What is polymorphism give a real life example?

561


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1895


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.

6486


class type to basic type conversion

1839


Can a destructor be called directly?

603