Search:

Type: Posts; User: Pyrius

Search: Search took 0.08 seconds.

  1. Re: Calling a nested class from a different java source file?

    Oh! Thanks! I read a bit, then found this syntax: OuterClass.InnerClass innerObject = outerObject.new InnerClass();
  2. Re: Calling a nested class from a different java source file?

    Sure.


    public class example{
    public static void main(String[] args){
    public class nestedClass{ /*This is what I meant*/
  3. Calling a nested class from a different java source file?

    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...
Results 1 to 3 of 3