How to Remove Main()


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to Remove Main()

Hybrid View

  1. #1
    Join Date
    Dec 2004
    Posts
    1

    How to Remove Main()

    I've written a stand alone program that performs simple text i/o. I would like to remove the main() method.

    Are there any java experts in here that would show the code to split the attached program file into a ReadFileIn and a ReadFileInTestDrive?

    I'm new to objects and I'm having a difficult time understanding how to move the main method from ReadFileIn.java to a new program ReadFileInTestDrive.java.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center