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
Plese get me a perfect C++ program for railway/airway reservation with all details.
What are the benefits of polymorphism?
Write a program to sort the number with different sorts in one program ??
Can enum be null?
Who invented oop?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is persistence in oop?
What is encapsulation selenium?
What is property in oops?
Can main method override?
What is the types of inheritance?
What is polymorphism in oop example?
What is polymorphism programming?
Why is polymorphism important in oop?
What is difference between multiple inheritance and multilevel inheritance?