Which of the following is true about constructors? 1) They cannot be virtual. 2) They cannot be private. 3) They are automatically called by new operator.

Question:
 Which of the following is true about constructors?
1) They cannot be virtual.
2) They cannot be private.
3) They are automatically called by new operator.

1.All 1, 2, and 3

2.Only 1 and 3

3.Only 1 and 2

4.Only 2 and 3

Posted Date:-2022-07-04 03:01:13


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!