hi all,here is the samle code from JLS 8.3.2.3 regarding field initialization, I already comment-off what author marked "error", but it still have problems of "forward reference". I also include error from javac. Can anybody explain? Does the author wrong, or Sun's compiler does not strict follow JLS?
errors:
you can see the original here:
[url =
http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#287406 [/url]
[This message has been edited by Haining Mu (edited June 19, 2001).]
[This message has been edited by Haining Mu (edited June 19, 2001).]