what are the ways in which a constructors can be called?
Answer Posted / s.verma
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 ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the important feature of inheritance?
What is overriding in oop?
What is pure oop?
What does oop mean in snapchat?
what is different between oops and c++
What are the important components of cohesion?
What is object in oop?
What is destructor example?
write knight tour problem which is present in datastructure
Can we have inheritance without polymorphism?
What is data binding in oops?
What is abstraction oop?
what type of question are asked in thoughtworks pair programming round ?
What is advantage of inheritance?
What is polymorphism programming?