Explanation: In this program, the load method of Properties class is used for loading of entries
from the fi le into an instance of Properties class. Here the fi le ‘ mbook.txt’ is fi rst opened using
FileInputStream class. If the fi le successfully opened, the entries are to be loaded into P using load
method. Once loaded, reset of the code simply displays the name and mobile numbers of the person. This
has been explained earlier.
18.11 ALGORITHM SUPPORT
The ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.