In java : Create an application that can use the name to search for a friend's email and phone number. The following programmer-defined classes should be included in the application: FriendInfo – class stores friend records including name, email address and phone number and necessary methods. MySohu – class creates a collection; carry out adding, deleting, searching, sorting, and printing operations. You may use any Collection class including Map discussed in the textbook. These operations must be displayed and processed as a menu using JOptionPane or any GUI components. Don’t use System. in for input and System. out for output. RegexValidat or – Verify all data entries from the user. You will prompt a format of name (Xxxx, Xxxx where x is any letters and X is a capital letter), format of email (xxxx.xxx@xxxx.xxx where x is any letters or numbers), and format of mailing address (### Xxx Xxx, Xxxx, XX ##### where # is any number and x is any letters and X is a capital letter). Utilize RegexValidator to verify these data entries until each of them is valid data, respectively. MySohuApp – the driver code.
//please don't copy from chegg
In java :
Create an application that can use the name to search for a friend's email and phone number. The following programmer-defined classes should be included in the application:
FriendInfo – class stores friend records including name, email address and phone number and necessary methods.
MySohu – class creates a collection; carry out adding, deleting, searching, sorting, and printing operations. You may use any Collection class including Map discussed in the textbook. These operations must be displayed and processed as a menu using JOptionPane or any GUI components. Don’t use System. in for input and System. out for output.
RegexValidat or – Verify all data entries from the user. You will prompt a format of name (Xxxx, Xxxx where x is any letters and X is a capital letter), format of email (xxxx.xxx@xxxx.xxx where x is any letters or numbers), and format of mailing address (### Xxx Xxx, Xxxx, XX ##### where # is any number and x is any letters and X is a capital letter). Utilize RegexValidator to verify these data entries until each of them is valid data, respectively.
MySohuApp – the driver code.

Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images









