nested type cannot hide an enclosing type

You have defined the HelloWorld class twice. Remove one level and you should be fine.

Leave a Comment