Which of the following is the correct way to implement a write only property Length in a Sample class?
Answer: Option D
Explanation: