what are the ways in which a constructors can be called?
Answer Posted / king
A constructor can be called implicitly or explicitly.
When an object of class is created the constructor is
implicitly called.
When we create an object we desired properties, we call the
constructor explicitly.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
How do you answer polymorphism?
Why polymorphism is used in oops?
What causes polymorphism?
What is overloading in oop?
c++ program to swap the objects of two different classes
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
Give two or more real cenario of virtual function and vertual object
What is encapsulation in oops?
What are the advantages of polymorphism?
What is abstraction with example?
What does and I oop and sksksk mean?
What is encapsulation in ict?
How do you define a class in oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading