If you try to access a private inner class from an outside class, an error occurs: Main.java:13: error: OuterClass.InnerClass has private access in OuterClass OuterClass.InnerClass myInner = myOuter.new InnerClass(); ^ Try it Yourself » Static...
"child2": { "name":"Tobias", "year":2007 }, "child3": { "name":"Linus", "year":2011 } } Try it Yourself » Or, if you want to add three dictionaries into a new dictionary: Example Create three dictionaries, then create one dictionary that will contain the other three dictionar...