This discussion is archived
1 2 Previous Next 24 Replies Latest reply: Nov 19, 2008 4:16 AM by 807589 RSS

inner class syntax

Gen.Java Newbie
Currently Being Moderated
Hello,

This is very strange:
System.out.println(test$in.class);
System.out.println(test$in.class);
"test.in" is a simple inner class.

These two statements don't compile. If you comment anyone of them, it compiles and runs !!!

You don't get this problem if you are using "test.in.class"

Thank you
1 2 Previous Next