private String s = s;//illegal forward reference error. What does it mean?
Well, it is an illegal forward reference because you are declaring a reference "s" and trying to initialize it to itself.
I am assuming that you wanted to initialize it to the "s" reference in the outer class? Which quite frankly may not be visible during this initialization.
Henry