simple coding project to make phonebook with linkedlist
$30-250 USD
Imefungwa
Imechapishwa over 7 years ago
$30-250 USD
Kulipwa wakati wa kufikishwa
(Use prewritten code attached)
Create a menu-driven application that will have the following options:
1.) Create PhoneBook (will prompt user for name of file to use as input) readFileCreateObject();
2.) Display Entire PhoneBook (in alpha order by last name, and then first name) printLinkedList();
3.) Find a Specific PhoneBook Entry (using user input of last name and first name) findAnEntry();
4.) Add a Specific Phone Book Entry (add it in the correct location of the linked list) addAnEntry();
5.) Change a Specific Phone Book Entry (ex. change the phone or email) changeAnEntry();
6.) Remove a Specific Phone Book Entry (make sure linked list is not "broken" from the removed node) removeAnEntry();
7.) Try-Catch blocks must be implemented to process any File IO Exceptions, as well as Input Format Exceptions from the user's entry of data.
For example, in any method that you ask the user to enter data (find, add, remove), be sure to use a try-catch block to catch the InputMismatchException.
Additionally, put the entire try-catch block in a while loop, checking the status of a boolean "mismatch" flag that will initially be set to true, and when you successfully
input all values, will be set to false.
Note:
To create the linked list of the Phone Book, follow these instructions:
1.) Create a program that will read an input file of at least 50 records for an address book.
2.) Each record read will be used to create an object called PhoneBook, consisting of the following 5 String attributes: firstName, lastName, cellPhoneNumber, emailAddress
3.) Each object created will become a node in a linked list address book, where the order of the linked list will be determined by alphabetical order or lastName followed by firstName.
For example, if there are 2 entries with the same last name, a sequential search through the nodes will take place to find the location to insert the new node by first name.
4.) Once all the nodes have been inserted in the linked list, iterate through the entire linked list and print all the nodes in alphabetical order by last name and then first name. Include the phone number and email address in the display.
5.) Try-Catch blocks must be implemented to catch any IO Exceptions, and process them gracefully.
Hints:
a.) Loop to display the menu, until the user selects to exit
b.) Evaluate the user's selection using a switch - case statement
c.) Create methods for each of the functions mentioned above.
More Hints:
Try to reuse code that is already there. For example, in the method called addAnEntry(), you can do some preliminary work like getting the new phone book entry from the user, creating a PhoneBook object, and then calling the method addToLinkedList(candidateEntry); to reuse code. Similarly, in the changeAnEntry() method, you can call the findAnEntry() method, then call the removeAnEntry() method, and then the addAnEntry() method.
Hello Sir/Mam
NovaSofts Inc. is the leading IT Company of Islamabad Pakistan. We have 9+ years of experience and strong knowledge about programming languages
Java
C++
C
C#
Android
So you don't worry about third party client. We are very much experienced and assure you that we’ll provide quality work. The project bid is negotiable and P.M for sample work. Thanks
Dear sir/madam, I am experienced developer (please check my freelancer profile and customer reviews for more details) and I can complete this project for you.
We can discuss all details in the private chat. I make warranty for providing clean, readable, well-tested, well-commented, professionally written code. Please do not hesitate to leave any information or questions in the private messages even when if I am offline , be sure, I will read them and respond to you as soon as possible. Please do not hesitate to ask me any questions you need to make sure I am the right person for this project.
I have 6+ years of professional experience writing code in java and j2ee. I am familiar with Java, Swing JavaFX, J2ee, web applications, frameworks.I have B.S and M.S in Computer Science. Please feel free to chat if you have any questions.
We have over 10 years of programming,having programmed extensively in C++C#,MT4,Java, C,VB, AI,
Excel programming etc and many more languages.
Ability to consult and Program to clients need and ensuring deadlines(Single clients/Industry).
I am a passionate programmer with experience in programming java applications. I am a hard worker and problem solver and i want to apply my skills to create the application you have outlined
I am a graduate student who deals with Object Oriented Programming daily. This is a fairly simple task that would be easy to write code for, in a day. For a task like this, I can guarantee good looking, easy to read, tested code.