Which of the following statements is correct about properties used in C#.NET?

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
  
Which of the following statements is correct about properties used in C#.NET?

1. Every property must have a set accessor and a get accessor.

2.Properties cannot be overloaded.

3.Properties of a class are actually methods that work like data members.

4.A property has to be either read only or a write only.

Posted Date:-2021-02-25 10:06:08


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!