A file contains a list of telephone number in following form.         Aman         23456        Raj           567854        …..          ………. Assume 10 such entries.   Name contains only one word and name and telephone number are separated by 5 white spaces. -->Write a program that will create the data file containing the list of telephone number given in above form. Use a class object to store each set of data.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter12: Exception Handling
Section: Chapter Questions
Problem 8PE
icon
Related questions
Question
100%

A file contains a list of telephone number in following form. 

       Aman         23456

       Raj           567854

       …..          ……….

Assume 10 such entries.

  Name contains only one word and name and telephone number are separated by 5 white spaces.

-->Write a program that will create the data file containing the list of telephone number given in above form. Use a class object to store each set of data.

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT