Wednesday, September 5, 2007

Anonymous Inner Classes

Today I noticed that the class files that eclipse would generate also generated other class files with $1 in the name. I was wondering what that was all about. So I decompiled the class by looking at the files in cavaj. I found that it was small java code that was from constructing a new object without a name (Anonymous innner class).

No comments: