Question: **Here create a family class generate getter and setter method and then create record and drivers class Use the file concept in JAVA . And

**Here create a family class generate getter and setter method and then create record and drivers class Use the file concept in JAVA . And please give the code with screen shots and write some name and show the output (Please answer the question by following above instructions and call all the method of record class in separate driver class)**

variable: number of family members type of family (this may represent the extended, nuclear, joint, etc. family type) family surname number of weddings attended

Just use Getter and setter methods to access and modify the variables (therefore the number of methods will be 2times the number of variables.)

Write the following functions in another 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 the 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 the 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.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!