Question: Please help me solve the problem (Java) Assignment 8 - Computer Dating Date Profiles Class DateProfile Create a class called DateProfile that has the following

Please help me solve the problem (Java)

Please help me solve the problem (Java) Assignment 8 - Computer DatingDate Profiles Class DateProfile Create a class called DateProfile that has thefollowing private instance members: gender a char, the gender of the applicant(M' or 'F) searchGender a char, the gender of desired partner ('M'or 'F). This is not the gender of the applicant, but of

Assignment 8 - Computer Dating Date Profiles Class DateProfile Create a class called DateProfile that has the following private instance members: gender a char, the gender of the applicant (M' or 'F) searchGender a char, the gender of desired partner ('M' or 'F). This is not the gender of the applicant, but of the applicant's requested partner. romance - an int from 1 to 10, indicating the importance of romance to the applicant. finance-an int from 1 to 10, indicating the importance of finance to the applicant. name -a String indicating the full name of the applicant. Each object in the DateProfile class represents an applicant's profle. If the object is (M, 'F; 7,4, "Hugh Hefner") then the applicant's name is "Hugh Hefner", he's looking for a date who is Female, with romance being somewhat important (7) and finance being less important (4). Create public static constants for: All range limits (like MIN_ROMANCE, MIN NAME LEN, etc.). These are the limits that the mutators test for. All default values (like DEFAULT_GEND, DEFAULT SEARCH_GEND, DEFAULT NAME). These are used if the default constructor is called or if a parameter-taking constructor is called but a bad value (out-of-range) is detected. However, they are not used directly in the constructors, as we will find that there are helper methods that do the dirty work for the constructorssee below

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!