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 email@example.com
posted 15 years ago
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.