Question:Which of the following is the correct way to define a constant field in the class in term of C#? 

A public const int PI=3.145 

B public constant int PI=3.145 

C public int const PI=3.145 

D const public int PI=3.145 

+ Answer
+ Report
Total Preview: 1036

Copyright © 2024. Powered by Intellect Software Ltd