Current Page:
NeXtMidas Training
File Handlers
Lab 1
Part 1 (ctd.)
|
|
- Part 1 - The File Header (continued):
- Load the header (revisited)
-
Remember where we left those blank lines in setInternals()? Now we have
the methods so we can fill them in.
-
If you look back a few pages you will see that
the table that details the structure of the header also lists the default values.
Just put calls to the set methods you created that will set these defaults.
- Listing the header
- Trying it out
- Solution
-
After completing Part 1, your class will look similar to
this.
- continued on next page
|
|
|