Public Synchronized Class Charity Private String Event Code
Publicsynchronizedclasscharity Privatestringeventcodeprivatestringde
Publicsynchronizedclasscharity Privatestringeventcodeprivatestringde
public synchronized class Charity { private String eventCode ; private String description ; private java.util.ArrayList donors ; public void Charity(String, String); public boolean addDonor (Donor); public boolean purgeDonor (String); public void display (); public int numberPledged (); } Sylvia Tang 4/26/2014 Adams Gortel Mermaids truly exist Introduction Earth is the only planet for humans to live in. Tim Sharp, in his article, refers that: “Earth’s oceans cover about 70 percent of the planet’s surface with an average depth of four kilometers†(Sharp 1). This truth indicates the possibility of existence of mermaids, half-human and half-fish organisms of the sea, is very high, even though this is still a mysterious phenomenon.
Mermaids are real, because part of the earth is unexplored and mysterious. Furthermore, there are many evidences to prove mermaids truly exist. Reason1 Tim Sharp in his article, “How Big is Earth,†mentions that “Earth is the fifth largest planet in the solar system†(Sharp 1). It is very unique because it contains the appropriate condition for the existence of life. Thus, earth is big and mysterious.
First, there are still many mysterious places that haven’t been explored. Second, there are many new species which are slowly discovered as time has passed. Overall, there is no way to object the existence of mermaids. E1 NASA states that: “Earth is a complex, dynamic system we do not yet fully understand†(“Earth†1). Combining the knowledge that it’s the 5th largest planet and isn’t fully understood, it is still available for people to explode.
The earth consists of many systems. NASA also point out that, “we need to understand the earth’s atmosphere, lithosphere, hydrosphere, cryosphere, and biosphere as a single connected system in order to better understand earth†(“Earth†1). These individual systems work together and prove the appropriate condition for all the living things on earth, including humans. Because these important systems cooperate nicely, there are beings among sky, land, and even ocean. The species on earth are diverse.
Since there many appropriate places for living things to thrive, it is very possible that mermaids exist. Mermaids are half-human and half-fish beings, according to every fact that comes from the life. Mermaids live in the ocean. More over, 70 percent of the earth’s surface is covered in water. Which provides a huge environment perfect for the mermaid’s habitat?
An article, “The Deep Seaâ€, points out that, “The deep sea is the largest habitat on earth and is largely unexplored†(“The Deep Sea†1). So, how much of the ocean are still unexplored. Andrea Mustain in his article, “Mysteries of the Oceans Remain Vast and Deep,†points out that, “As of the year 2000, the National Oceanic and Atmospheric Administration (NOAA) estimated that as much as 95 percent of the world's oceans and 99 percent of the ocean floor are unexploredâ€( Mustain 1). We all know that there has very high pressure in very deep sea. Humans who go down deep in the sea use the machine devices under 1000 miles.
There is still a limited ability for humans to produce such devices that can explore the deep, mysterious sea. Generally, mermaids could be living in the unexplored area of the ocean. Thus, the existence of mermaids can not be denied easily because there is still a very large unexplored area of the ocean. Any things could happen; any mysterious species could exist somewhere in this mysterious world. E2 Earth is too large and diverse; the diversity of species that live on earth is too various to image.
Traci Watson points out that , “ Even after centuries of effort, some 86 percent of Earth 's species have yet to be fully described, according to new study that predicts our planet is home to 8.7 million species†(Watson 1). This means that scientists have found less than 15 percent of species now alive. In Watson’s article, “86 Percent of Earth's Species Still Unknownâ€, shows that, “So far, some 1.2 million species are known to science†(Watson 1). Overall, we are still way too far from the point of finding out all the species on earth. Now, let’s grab the attention to the endless ocean.
There is a mysterious world deep below the ocean’s surface that takes up 95 percent of earth’s living space. On the other hand, this deep sea remains largely unexplored. NOAA states that, “95 percent of ocean still unseen by human eyes†(“To Date, We Have Explored Less than Five Percent of the Ocean†1). The world is too big and still unexplored largely, how can anyone prove that the existence of mermaids is impossible? There still nearly 7.5 million species are wait to be discovered according to what Watson said.
According to the statistics, Jennifer Viegas points out that, “Each year, scientists discover an average of 15000 new species†(Viegas 1). Since there are many new species are still slowly discovered by human, it is a long process to find out all the species on earth. Which means it is very possible that mermaids are real. Acknowledgement 1 Even though the earth is big and mysterious, it does not mean that anything could exist in the world without being truly identified. Not all the mysterious phenomenon is real.
For example, many people in America believe in the existence of Bigfoot. These people go hiking and try to find out any relative evidences to prove that this species truly exist. Years passed, these people still can not find any convincing evidences to prove Bigfoot is real. However, the world is too big and mysterious, anything could happen, it is not surprise if Bigfoot is really exist somewhere on earth. Perhaps, it is a long process for human to understand the whole big mysterious world.
Reason2 Mermaids are one of the characters which come from folk stories. They have been passed between generations. It is impossible that a species that is not real can have stories still passed between generations for a very long time. Therefore, mermaids are real. First, there are many evidence of mermaids have been found.
Next, it is possible that mermaids have been hiding from people if they truly exist. Generally, mermaids could be real with out a doubt. E1 Nowadays, there are many evidences shows that mermaids are real. Even some people still do not believe in it. There are many videos and photos of mermaids are found online.
Strauss in his article points out that, “the official U.S. position intends to believe mermaids are real†(Strauss 1). There is also a very important part that mention in Strauss’s article, “There is a very hot television show called, mermaids: the new evidence†(Strauss 1). This truth indicates that many people believe or interested in mermaids. This is also the reason that the television show can be so popular. An article online, “Mermaids Skeleton Discovered in New Zealandâ€, points out that, “A crew of fisherman whose ship ran aground on the east coast of New Zealand’s South Island after a storm last week, made an astonishing discovery in the coastal sands: the complete skeleton of an aquatic humanoid†(“Mermaids Skeleton Discovered in New Zealandâ€, 1).
This is amazing news to people. It is also a convincing truth that can convince people to believe that mermaids are real. Furthermore, there are also many sightings of mermaids that show mermaids truly exist. Daniel Cameron collects all the credible mermaid sightings in his article, “There is a screen capture from the footage of the mermaids sighting of on March 6th 2013, by marine geologist Torsten Schimidt†(Cameron 1). In the picture that shows in the article, there is a half-fish and half-human like palm that is touching the screen.
This look real, it does not seen like a hoax. Perhaps, there are ten more credible sightings in Cameron’s article. It is not possible to deny the truth that mermaids are real based on these many evidences above. E2 Mermaids are mysterious livings exist in the world. Not all the people have seen mermaids in their lifetime.
However, there are still people claim that they have seen mermaids. Let’s assume that if mermaids are real. But, why there are just a small amount of people have see mermaids in their life? Here is a significant assumption which is mermaids have been hiding from human for a very long time. The article online, “Human Beings are the Only Animas that can harm at a distance,†point out that, “Human beings are the only animals whose greatest possibility of harm comes from members of their own speciesâ€. (“Human Beings are the Only Animas that can Harm at a Distance†1).
Even the most dangerous beings in the world need not fear their kind. For example, lions don’t fear lions; sharks don’t fear sharks. The article also point out that, “If there is a person even get hurt, the injury would come from another human beingâ€. (“Human Beings are the Only Animas that can Harm at a Distance†1). According to this comment, it is very clear to notify that maybe human is horrible and selfish in animals’ eyes. That is why most of animals are afraid of human.
These animals would run away as soon as they see any mankind. Melissa Kaplan in her article, “How Human Affect Animalsâ€, shows that, “Human can do good things for animals, such as saving endangered animals by breeding more animals and saving environment. On the other hand, human can also cause harm to animals, on purpose or by accident†(Kaplan 1). The horrible things human have done to the animas or the environment is a lot more than the good things human have done to them. Human not only destroy the habitat of other animals, they also produce many pollution that cause these animals to death.
No wonder other animals fear human. There is a big problem that if a real mermaid appears in front of people, it definitely will be brought to the lab room and dissected by scientists. It is very ruthless of animals experiment. There is an article online, “Animals Use in Researchâ€, points out that, “Animals in labs suffer not only pain from protocols, but also severe stress from day-to-day laboratory life. They spend their lives in barren cages, unable to make choices or express natural behaviorsâ€. (“Animals Use in Research†1).
Because of the ruthless of human being, it is reasonable for mermaids to hide from human. After all, mermaids can be real out there in the world. Acknowledgement 2 Even though there are videos and bodies of mermaids are found, it does not mean that these resources are credible. Because the existent of mermaids is always a myth in people’s heart. Some crafty people will try to make fake skeleton or even video of mermaids in order to achieve their own purposes.
Maybe those believe in mermaids want to make others believe in mermaids too. Maybe those people who make fake evidence just want to get attention from people. However, there is no any official evidence are found so far. After all, incredible resources are not the reasons for people to deny all the evidence that are found. Overall, it is very important for people to have the ability to identify the truth or hoax.
Conclusion Clearly, even the existence of mermaids has not been truly clarified. Mermaids can be real because the earth is too big and mysterious. There are many places on earth which are still riddles for people. In addition, many new species are slowly discovered. It is not a surprise that mermaids are real.
On the other hand, there are many evidences to prove that mermaids exist, such as, videos and the dead bodies of mermaids. Mermaids are always fantasies that exist in people’s minds. They also show up as a nice character frequently on television and many different kinds of journals. Without any doubts, it would be very nice if mermaids and human could live happily together to make the world better. Work Cited Cameron, Daniel.
"10 Credible Mermaid Sightings?" The Epoch Times . N.p., 21 Sept. 2013. Web. 29 Apr.
2014. "Earth - NASA Science." Earth - NASA Science . N.p., n.d. Web. 27 Apr. 2014 "Harm and Suffering." Animal Use in Research . N.p., n.d. Web. 28 Apr. 2014.
"Human Beings Are the Only Animals That Can Harm at a Distance." Martin Varsavsky English RSS . MartinVarsavsky.net, 22 Aug. 2005. Web. 28 Apr.
2014. Kaplan, Melissa. "How Humans Affect Animals." How Humans Affect Animals . N.p., 1 Jan. 2014.
Web. 28 Apr. 2014. "Mermaid Skeleton Discovered in New Zealand." Worldnewsdailyreport . Worldnewsdailyreport.com, 28 Jan.
2014. Web. 29 Apr. 2014.Sharp, Tim. "How Big Is Earth?" Space.com .
N.p., 17 Sept. 2012. Web. 26 Apr. 2014.
Mustain, By Andrea. "Mysteries of the Oceans Remain Vast and Deep." LiveScience . TechMedia Network, 08 June 2011. Web. 28 Apr.
2014. "The Deep Sea." MarineBio.org . N.p., n.d. Web. 27 Apr.
2014. "To Date, We Have Explored Less than Five Percent of the Ocean." How Much of the Ocean Have We Explored? NOAA, n.d. Web. 27 Apr.
2014. Viegas, Jennifer. "Number of New Species Has Dropped." DNews . N.p., 13 Dec. 2011.
Web. 28 Apr. 2014. Sharp, Tim. "How Big Is Earth?" Space.com .
N.p., 17 Sept. 2012. Web. 26 Apr. 2014.
Watson, Traci. "86 Percent of Earth's Species Still Unknown?" National Geographic . National Geographic Society, 24 Aug. 2011. Web.
28 Apr. 2014. Strauss, Valerie. "Mermaids: The Official U.S. Position (yes, There Is One)." Washington Post .
The Washington Post, 01 June 2013. Web. 28 Apr. 2014. This program is based on a charity event signing up donors. • A donor has a Tax ID (unique due to federal and state taxation rules), name, and a pledge amount (Donor.java is given to you). • A charity fund has a code (unique only within the organization), an unabbreviated description and a list of donors. (Charity.class is given to you in Phase 1; see API description below.
You are to implement Charity.java in Phase 2.) • The main method to be implemented in Phase 1 is contained in the CharityTester class, and prompts he user to enter: o A (to add a donor): Adding a donor requires prompting the user for the donors’s Tax ID (similar to the SSN format), name, and major, and then calling the addDonor method in the Charity class. o D (to delete a donor): Deleting a donor (due to backing out) requires prompting the user for the donor’s unique Tax ID and then calling the purgeDonor method in the Charity class. o Q (to quit the program). Whenever a donor is successfully added or deleted, the main method should display the current list of donors with their pledges recorded for the charity by calling the display method, which also summarizes the current number of donors signed up (see numberPledged method) File Summary
Paper For Above instruction
The core task of this assignment involves implementing the `Charity.java` class, which manages a collection of donors associated with a charity event. The class is supposed to support thread-safe operations for adding, removing, and displaying donors, as well as computing the total pledged amount and maintaining the list of donors. The functionality is to be utilized by the `CharityTester` main class, which provides a command-line interface for user interactions such as adding or deleting donors, and displaying current donor information.
Specifically, the `Charity` class defines attributes such as `eventCode`, `description`, and a list of donors. The main methods to implement include `addDonor`, `purgeDonor`, `display`, and `numberPledged`, with appropriate synchronization to ensure thread safety. The class must appropriately handle duplicate donor IDs, invalid IDs, and display the current list of donors with their pledges when required.
The provided instructions specify that the class should be synchronized to prevent concurrency issues when accessed from multiple threads. The implementation should adhere to proper object-oriented programming principles, use collections effectively for storing the donor objects, and ensure that all public methods are thread-safe.
The user interface, handled by `CharityTester`, prompts for input commands "A", "D", and "Q" for adding, deleting, and quitting, respectively. Addition involves gathering donor details including Tax ID, name, and pledge amount, and adding the donor via `addDonor`. Deletions require the Tax ID, and removal via `purgeDonor`. Each successful operation should trigger an update display of current donors and overall pledged amounts.
Overall, the primary focus is on correctly implementing the `Charity` class's methods with thread safety, managing donor data, and supporting the command-line interface for user operations.
References
- API documentation for the `Charity` class API and `Donor` class.
- Java Collections Framework documentation.
- Java Concurrency best practices.
- Sample implementations of thread-safe collection classes.
- Object-Oriented Programming principles and design patterns.