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 oops and benefits of oops programming?
What is meant by oops concept?
What is destructor give example?
What is the real life example of polymorphism?
What is solid in oops?
What are the benefits of oop?
What are the important components of cohesion?
What are the components of marker interface?
what are the different types of qualifier in java?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What does enum stand for?
Why is static class not inherited?
What is oops and its features?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is the point of oop?