Which of the following statements is correct?

Question:Which of the following statements is correct?

1. A constructor can be used to set default values and limit instantiation.

2.C# provides a copy constructor.

3.Destructors are used with classes as well as structures.

4.A class can have more than one destructor.


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!