Search:

Type: Posts; User: atar

Search: Search took 0.08 seconds.

  1. Thread: Nested classes.

    by atar
    Replies
    11
    Views
    1,914

    Re: Nested classes.

    Hi there!!

    Thanks you again about your really kind support!

    Here is the full runtime stack trace, as you requested:



    By the way, your guess is correct! once I changed the inner...
  2. Thread: Nested classes.

    by atar
    Replies
    11
    Views
    1,914

    Re: Nested classes.

    Hi there!!

    Thanks you very much about your kind response!

    The code that caused to the exception is exactly the code in my opening post, except that I added an identical "arrayOfInts" array in...
  3. Thread: Nested classes.

    by atar
    Replies
    11
    Views
    1,914

    Re: Nested classes.

    Hi there!!

    Thanks you very much about your kind support!!

    related to your words in the "2)" section, I succeed to access the outer variable by using "OuterClass.this.myInt", but to the inner...
  4. Thread: Nested classes.

    by atar
    Replies
    11
    Views
    1,914

    Re: Nested classes.

    Hi there!!

    Thank you about your detailed response!!

    1) Of course, it is clear that two classes with the same name can be exist in two separated packages/files. In my previous question I meant...
  5. Thread: Nested classes.

    by atar
    Replies
    11
    Views
    1,914

    Re: Nested classes.

    Hi there!!

    Firstly, thanks you very much about your detailed answer.

    Secondly, there are several things that I didn't understand in your words:

    1) you said:"Likewise if there were no other...
  6. Thread: Nested classes.

    by atar
    Replies
    11
    Views
    1,914

    Nested classes.

    Hi there!!

    I'm learning now Java and I just studied about Nested classes and their various types.
    Inside the tutorial, the author bring an example of implementation of nested class of the type...
Results 1 to 6 of 9