Discussion :: Enumerations - General Questions (Q.No.3)
|Bhupendra Singh said: (Jul 6, 2012)|
|We can define a enum at both place, either inside a namespace or inside class, it will work properly.
Option b, d, e is wrong because we can use access modifier with enum.
|Rama Lanka said: (Jan 31, 2016)|
|But also option A is true. Isn't it?|
|Nagaraju Kuricheti said: (Feb 9, 2017)|
|Yes, option A is also true.
We need to convert it implicitly.
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.