I haven't been programming java for that long, but I am facing some very strange problems.
I am following suns Java tut and several of the sources that they give to you as examples ( or even as solutions to problems) don't compile. Now I doubt that Sun would be so careless as to make a mistake in their source, so I assume it must be a fault somewhere on my part. I am running suns jdk 1.3.1 on redhat 7.1. Up untill today I have had no problems; but with two examples the compiler fails to recognise a final instatance variable as accessable by an inner class.
If anybody has any suggestions I would really appreciate it.
Thanks.
I am following suns Java tut and several of the sources that they give to you as examples ( or even as solutions to problems) don't compile. Now I doubt that Sun would be so careless as to make a mistake in their source, so I assume it must be a fault somewhere on my part. I am running suns jdk 1.3.1 on redhat 7.1. Up untill today I have had no problems; but with two examples the compiler fails to recognise a final instatance variable as accessable by an inner class.
If anybody has any suggestions I would really appreciate it.
Thanks.