How many times can a constructor be called during lifetime of the object?

Question:
How many times can a constructor be called during lifetime of the object?

1.As many times as we call it.

2. Only once.

3.Depends upon a Project Setting made in Visual Studio.NET.

4.Any number of times before the object gets garbage collected.

Posted Date:-2021-02-24 04:05:30


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!