Skip to Main Content
Java Programming by Pearson
book

Java Programming by Pearson

by Hari Mohan Pandey
May 2024
Intermediate to advanced content levelIntermediate to advanced
889 pages
37h 5m
English
Pearson India
Content preview from Java Programming by Pearson
The Collection Framework • 581
}
}
}
OUTPUT:
Contact details are
NAME MOBILE NO.
Hari 9923598540
Man 9745659019
Lala 9423347619
Ritu 9923781210
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.
Start your free trial

You might also like

Java Programming, 1st Edition by Pearson

Java Programming, 1st Edition by Pearson

K. Rajkumar
Object Oriented Programming Through Java by Pearson

Object Oriented Programming Through Java by Pearson

Ramesh Vasappanavara, Anand Vasappanavara, Gautam Vasappanavara
Python Programming by Pearson

Python Programming by Pearson

S.Sridhar, J. Indumathi, V.M. Hariharan

Publisher Resources

ISBN: 9781299486539