Intermediate Java Programing Challenge

Intermediate Java Programing Challenge

WE WRITE ESSAYS FOR STUDENTS

Tell us about your assignment and we will find the best writer for your project

Write My Essay For Me

Instructions:

There are 3 classes in this project: The WorkFriend domain class, a Helper class, and the Driver class which contains the main method.

Your task is to complete the code in both the Helper class and the Driver class.

Helper Class:

The Helper class will contain a 2-D array of WorkFriend objects. Each row in the array represents a capital letter in the alphabet, thus there are 26 rows. Within each row there will be a varying number of columns depending on how many friends have last names that begin with the letter represented by that row. For example, if there are 3 WorkFriend objects whose last name begin with the letter ‘C’, then in the row with index of 2, you should find an array of 3 WorkFriend objects. Then, if there are 5 WorkFriend objects whose last name begin with the letter ‘G’, then in row with index 6 you should find an array with 5 WorkFriend objects.

The Helper class contains the 5 methods that manipulate the 2-D array of WorkFriend objects:

1.) public int addToArray(WorkFriend anAddedFriend)
2.) public int changeInArray(WorkFriend aChangedFriend)
3.) public int removeFromArray(WorkFriend aRemovedFriend)
4.) public WorkFriend findInArray(WorkFriend aSearchFriend)
5.) public String listAllFriends()

You will find pseudo code in each method in the skeleton project, to help you write the code for each of these methods.

The Driver Class:

The Driver class contains the main method, which loops to display a menu, and then processes a menu option selected by the user. When the user selects option 6, the loop stops and the program ends.

Each menu option calls a different method in the Driver class:

1 ====> processAdd()
2 ====> processChange()
3 ====> processDelete()
4 ====> processView()
5 ====> processViewAll()

Each method in the driver class calls a corresponding method in the Helper class.

Driver class method Helper class method

processAdd() ————> addToArray(WorkFriend aFriend)
processChange() ——–> changeInArray(WorkFriend aFriend)
processDelete() ———-> removeFromArray(WorkFriend aFriend)
processView() ————> findInArray(WorkFriend aFriend)
processViewAll() ———> listAllFriends()

You will find pseudo code in each method in the skeleton project, to help you write the code for each of these methods.

FOR THIS ASSIGNMENT THE PROFESSOR GAVE US A ZIP FILE. SO I WILL UPLOAD ALL THE FILES IN THE COMMENTS.

Essay writing help – Intermediate Java Programing Challenge Online Essay Writing Agency – Quality Paper-Pro.

Write my Essay. Premium essay writing services is the ideal place for homework help or essay writing service. if you are looking for affordable, high quality & non-plagiarized papers, click on the button below to place your order. Provide us with the instructions and one of our writers will deliver a unique, no plagiarism, and professional paper.

Get help with your toughest assignments and get them solved by a Reliable Custom Papers Writing Company. Save time, money and get quality papers. Buying an excellent plagiarism-free paper is a piece of cake!

All our papers are written from scratch. We can cover any assignment/essay in your field of study.

PLACE YOUR ORDER