Question: Write the following functions in Record Class: a. view for viewing records in your file, b. add for adding records in your file, c. search
Write the following functions in Record Class: a. view for viewing records in your file, b. add for adding records in your file, c. search this function will read a search key (e.g. surname) from user, search for that key in your file, and then show info of all the records that matches the search key; for example, if the user searches for all family whose name is Rahman then your program will show the info of all Family whose surname is Rahman d. edit this function will read a search key, show the info of all records which matches that key (just like search function), asks the user to select which record s/he wants to edit/modify, read the new info given by the user and use those to replace the old values of that record.
Please note that the name you are using in family records those should be the real names that relates to you, do not use names from your friend's family. For other values you can use imaginary values. **Please, Write this code only in Java.**
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
