adplus-dvertising
frame-decoration

Question

When is the constructor called for an object?

a.

As soon as overloading is required

b.

As soon as class is derived

c.

As soon as class is created

d.

As soon as object is created

Answer: (d).As soon as object is created

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When is the constructor called for an object?