| Author |
What is a class file with $ symbol in the name
|
Ravi Pydi
Greenhorn
Joined: Sep 01, 2002
Posts: 25
|
|
My java program has to import certain classes in a JAR file. I have imported the jar file. I was able to refer to the methods of all the classes in the JAR file except the files which have "$" symbol in their name (Ex: xml$BOAppInfo.class). What are these class files and how can I refer to the methods in these class files.
|
 |
miguel lisboa
Ranch Hand
Joined: Feb 08, 2004
Posts: 1281
|
|
|
inner classes
|
java amateur
|
 |
fred rosenberger
lowercase baba
Bartender
Joined: Oct 02, 2003
Posts: 9939
|
|
|
if you define a class INSIDE another class, you get what's called, appropriatly, an inner class. These are what you are seeing with the dollar sign. you may want to check out the campfire article on Inner Classes
|
Never ascribe to malice that which can be adequately explained by stupidity.
|
 |
 |
|
|
subject: What is a class file with $ symbol in the name
|
|
|