Oh! Thanks! I read a bit, then found this syntax: OuterClass.InnerClass innerObject = outerObject.new InnerClass();
Type: Posts; User: Pyrius
Oh! Thanks! I read a bit, then found this syntax: OuterClass.InnerClass innerObject = outerObject.new InnerClass();
Sure.
public class example{
public static void main(String[] args){
public class nestedClass{ /*This is what I meant*/
I am pretty new to java, and I'm trying to write a simple program for practice, but it requires me to call a nested class from a different java source file, and I'm not sure how to do that... I don't...