Which statement is/are correct about ReadOnly?

 Posted by vishalneeraj-24503 on 1/2/2015 | Category: Visual Studio Interview questions | Views: 1872 | Points: 40
Select from following answers:
  1. A readonly field can be initialized at the time of declaration.
  2. A readonly field can be initialized on constructor of the same class.
  3. A readonly fields can be used for run-time constants.
  4. Use the readonly modifier when we want to make a field constant at run time.
  5. All Above

Show Correct Answer

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response