Question: The system is to provide a potential customer with an animal that can be adopted. This system provides customers a way to search for animals
The system is to provide a potential customer with an animal that can be adopted. This system provides customers a way to search for animals that can be adopted, adoption agency to accept customer, and check to see if customer is genuine.
This program is to be made by simulating through threads. There should be a thread for Customer, Adoption Confirmation, and Adoption Agency.
Please provide code in Java, make it as simple as possible, and comment so that I understand. I will upvote if correct. Thanks.
Intro
Online adoption agencies provide customers with a way to choose the correct animal for them. In this system, the customer receives potential animals to adopt, a description, and an image.
Customer: To connect with an animal, customer must log-in using their username and password.
1: Begin
2: Login username and password
3: Search for animal
4: Select to animal
5: View animal details
6: Confirm animal
7: End
Adoption confirmation: Adoption agency recieves request and reads customer details.
1: Begin
2: Login with username and password
3: Recieve customer details
4: Start adoption
6: Select animal
7: View all adoption details
8: End
Agency: After receiving request from customer and viewing details, the adoption agency verifies if the customer Is genuine and is approved and given directions to pick-up location.
1: Begin
2: Login with username and password
3: Agency approves adoption
4: Agency registers details
5: Views customer details
6: Accept details
7: Provide directions for pick-up
8: Stop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
