Independence is relative and variable for an elderly person. There are many everyday activities with which an elderly person is going to need help, the most obvious being traveling; once the ability to drive ones own vehicle is gone, all other kinds of independence are diminished as well. A calm, realistic co-existence with an aide or series of aides is the best way to mental health, and physical sanity and comfort. Abuse comes from caretakers who have not volunteered or been hired, but rather are put in a caretaking situation by dint of the relation to the elderly person, or of a financial situation that they resent. Motive, therefore, is central to assessing the quality of care being given. The elderly person, in turn, must not assume a master-servant attitude, but rather an attitude of a grateful receiver of attention when needed. The worst kind of abuse, besides out-and-out physical harm, is the withdrawal of real human contact from the caretaker, someone who treats the patient as a burden, a bother, a chore, rather than a person with a personality, a past, and a presence. Those who commit or allow elderly abuse are suffering from the same dysfunction as anyone whose ego dominates their actions, rather than their humanity. The elderly, like the young, often cannot articulate what is happening. There must always be someone who acts as an advocate, a spokesperson, for the person whose physical presence and value has weakened with age, and whose worth as an individual has become abstracted. When that person is an occasional visiting relative or friend, problems can arise, but when that person is the primary caregiver, there can be independence and actual sharing of life-experiences.
1.Starting with this provided code, add the following functionality: Replace hardcoded strings “Zero”, “One”, “Two”, “Three” in the ArrayList based on user typed input (use Scanner or JOptionPane classes). The user will be prompted for the String to be stored in the ArrayList and then hit enter. The user will be able to continue to add items to the ArrayList until they just hit enter without typing anything. Once the user does this (hits enter without typing anything), the program will display all of the elements of the ArrayList, both the index and String values, in a table. It will do this via a single loop making use of an iterator method. 2. Starting with this provided code, add the following functionality: Use a Try/Catch block so that the exception is caught and the program exits a bit more gracefully. Save this file as TryCatch.java. (Be sure to rename the Public Class accordingly.) Starting with the provided code again (without the Try/Catch block), fix the code so that
Comments
Post a Comment