jQuery in Action, 2nd edition
The moose likes Beginning Java and the fly likes What is a class file with $ symbol in the name Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "What is a class file with $ symbol in the name" Watch "What is a class file with $ symbol in the name" New topic
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
    
    6

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is a class file with $ symbol in the name
 
Similar Threads
the question of the lockmanager
Jar Using Other Jar
jar files???
build jar file that includes needed classes automatically
class name collision among jar files