Consider the application for booking meeting rooms. Create a program to keep track of contacts. For each person to save a name and phone number. The program will have graphic user interface, and store information on file. Program code is provided on a single text file (. Txt). Separate classes clearly.

Solution PreviewSolution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

public class MeetingRoom {

public Map<String, String> names;

public MeetingRoom()
names = new HashMap<String, String>();
try(BufferedReader out = new BufferedReader(new FileReader("contacts.txt")))
String line;
while((line = out.readLine()) != null)
String[] split = line.split("\\s+");
names.put(split[0], split[1]);
} catch (IOException e) {

public boolean addEntry(String name, String phoneNumber)
names.put(name, phoneNumber);
return true;...

By purchasing this solution you'll be able to access the following files:, and

50% discount

$40.00 $20.00
for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Java Programming Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Upload a file
Continue without uploading

We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats