Join Slack
Powered by
can `enum class` be nested in another class?
# getting-started
a
arekolek
09/20/2017, 3:01 PM
can
enum class
be nested in another class?
t
todd.ginsberg
09/20/2017, 3:09 PM
It appears so, yes.
Copy code
class Foo { enum class Bar { A, B, C } }
a
arekolek
09/20/2017, 3:12 PM
Yeah, it can, thanks. My problem was, I didn’t notice I was trying to add it to a Java class 😅
3
Views
Open in Slack
Previous
Next