Which statement is/are correct about Constant?

 Posted by vishalneeraj-24503 on 1/2/2015 | Category: Visual Studio Interview questions | Views: 792 | Points: 40
Select from following answers:
  1. Constant fields or local variables must be assigned a value at the time of declaration otherwise gives compile-time error.
  2. By default constant are static.
  3. We cannot define a constant type as static.
  4. Constant variables can be accessed by class name directly.
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response