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

Question:
If Sample class has a Length property with get accessor then which of the following statements will work correctly?

1.Sample m = new Sample();

2.Sample m = new Sample(); m.Length = m.Length + 20;

3.Sample m = new Sample(); int l; l = m.Length;

4.Sample.Length = 20;

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


More MCQS Questions and answers

Search