Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

reason for $1 file creation???  RSS feed

 
gigglie sudipa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone tell me how this sss$1.class file get created along with sss.class while I have only written code for sss.class . What are the possible reasons for such a class creation ?
 
Tim Holloway
Bartender
Posts: 18662
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that's a subclass being broken out to a separate classfile - javac doesn't always just produce one classfile per sourcfile.

I don't think there's anything J2ME-related there, so it's more of a Java in general (beginner) question.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!