Chapter 25. Java I/O
So far in this book, we have demonstrated most of the classes we developed using simple driver programs that hard-coded the input arguments required by the class. This approach is okay for demonstration programs but not for real-life scientific and engineering applications. Ideally, you want to compile your analysis classes and driver programs once and have them be flexible enough to accept different input arguments every time the program is executed. What's more, you may wish to do different things with the output from your applications. Sometimes, printing the output to the screen may be sufficient. Other times you may want to write the output to a file. You may even wish to permanently save the data structure associated ...
Get Technical Java™: Developing Scientific and Engineering Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.