what are the ways in which a constructors can be called?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
How long to learn object oriented programming?
What is the difference between declaration and definition?
What is polymorphism oop?
What do you mean by inline function?
When a private constructer is being inherited from one class to another class and when the object is instantiated is the space reserved for this private variable in the memory??
Prepare me a program for the animation of train
What does and I oop mean?
What is oops in simple words?
Why do we use encapsulation in oops?
Write an operator overloading program to write S3+=S2.
Why multiple inheritance is not possible?
What is oops?what is its use in software engineering?