multiple files, please help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • princessfrost
    New Member
    • Jul 2007
    • 3

    #1

    multiple files, please help

    Can someone please help tell me how to make my code into 2-3 multiple java files? I really don't know how to break it up and I am afraid if I do, I'll mess it up and have to start all over again. So if any could please help me it would be greatly appreciated.
    Last edited by princessfrost; Jul 25 '07, 03:00 PM. Reason: took out java program
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by princessfrost
    Can someone please help tell me how to make my code into 2-3 multiple java files? I really don't know how to break it up and I am afraid if I do, I'll mess it up and have to start all over again. So if any could please help me it would be greatly appreciated.
    First make a backup of your old single file. Next step away from your PC and
    design the separate classes you think you need. Get back to that darn PC and
    implement each class each in its separate .java file. Compile the whole thing
    and see how it goes. For any trouble feel free to get back here.

    kind regards,

    Jos

    Comment

    Working...