Learn Java for Android Development by Jeff Friesen

Learn Java for Android Development by Jeff Friesen

Author:Jeff Friesen
Language: eng
Format: mobi, epub, pdf
Tags: Games, Java, Computers, Programming, Programming Languages
ISBN: 9781430264545
Publisher: Apress
Published: 2014-02-24T05:00:00+00:00


main() relies on a dumpRecords() helper method to dump these records, and dumpRecords() relies on a format() helper method to format field values so that they can be presented in properly aligned columns—I could have used java.util.Formatter (see Chapter 13) instead. The following output reveals this alignment:

1-9009-3323-4x | Wiper Blade Micro Edge | 30 | 24.68

1-3233-44923-7j | Parking Brake Cable | 5 | 14.39

2-3399-6693-2m | Halogen Bulb H4 55/60W | 22 | 8.13

2-599-2029-6k | Turbo Oil Line O-Ring | 26 | 1.55

3-1299-3299-9u | Air Pump Electric | 9 | 202.00

Number of records = 5



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.