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
What is the oops and benefits of oops programming?
what are the ways in which a constructors can be called?
What is the use of oops?
What does sksksk mean in text slang?
Why do we use inheritance?
What does oop mean in snapchat?
any one please tell me the purpose of operator overloading
Can abstract class have normal methods?
How do you define social class?
What is the types of inheritance?
Can a varargs method be overloaded?
What is abstraction example?
What is destructor example?
What is inheritance write a program to show use of inheritance?
Why do we use polymorphism in oops?