Question: A class contains a Private variable named _strState. The variable is associated with a Public property named State. Which of the following is the best

A class contains a Private variable named _strState. The variable is associated with a Public property named State. Which of the following is the best way for a parameterized constructor to assign the value stored in its strName parameter to the variable?

a. _strState = strName

b. State = _strName

c. _strState = State.strName

d. State = strName

Step by Step Solution

3.38 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

d S... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming with Microsoft Visual Basic 2015 Questions!