To create a non-static inner class Object you need an instance of the enclosing class. Like this:
With more classes then it just builds up:
But I don't think that you'll ever need such a construction.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
If B is static then you can't instantiate it with:
But with:
But haven't you tried it? You'll learn much more.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.