Join Carlos Rivas for an in-depth discussion in this video Putting it all together, part of Code Clinic: Java.
- [Narrator] Now that we're ready to run our application,…let's take a look at our main method.…The first thing we do here is create…an instance of our class,…which we can see on line 91.…We will use this to call the rest of our methods.…We'll also use it as a data structure…to store our data and memory…while we perform our calculations.…Once our class is created,…we call the readData method several times,…specifying each one of the data files which we wish to load,…which you can see here starting on line 93 through line 96.…
In order to verify the number of records loaded,…we print the total number of records in our array,…after we're done processing all files, seen here in line 99.…This way, we can feel confident…that we didn't lose any records in the load process…and, if we wanted to, we could use this record count…to double check against the total number…of records in our input files.…Following the data load,…we can proceed to perform our test cases.…
First, we set up our input parameters.…In this case, a pair of dates to use,…
Visit other courses in the series to see how to solve the exact same challenges in languages like C#, C++, PHP, Python, and Ruby.
Skill Level Intermediate
1. Problem 1: Pond Oreille
2. Problem 2: Where Am I?
3. Problem 3: Eight Queens
4. Problem 4: Accessing Peripherals
5. Problem 5: Facial Recognition
6. Problem 6: Real-Time Information Dashboard
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.