Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Breaking java Classes  RSS feed

 
kuttappa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I write a program in java to break a existing java file with one class into two or more and store them as different classes?please mail me the solutions if u have any at kutts@lycos.com
 
Peter Tran
Bartender
Posts: 783
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kuttappa,
Why would you need to do this? Java is able to handle having multiple classes in one source file. If what you have already works, breaking a source file containing multiple classes will probably cause you a lot of headaches. Furthermore, how are you going to handle creating the source file name?
-Peter
Ps. Please re-register with a name that meets our naming policy.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!