Error : "No enclosing instance of type First is accessible. Must qualify the allocation with an enclosing instance of type First "
Solution: You cannot instantiate a non-static inner class from a static context like
Solution: You cannot instantiate a non-static inner class from a static context like
main
.
No comments:
Post a Comment