The attached Java Program will be improved in 3 ways. One of these improvements will be related to the use of JDBC. 1: A counter will be added to list the number of the animal (if there is cat, dog, and octopus, it will list them as 1 – cat, 2 – dog, 3 – octopus, followed by the info for each one). 2: More attribute will be added for each animal – boolean canFly, String scientificName (binomial nomenclature), boolean canBeDomesticated, and int numLegs will be added – Values will be added for each of those in the database, as well as handling in the code to pull them out of the database and display them. 3: JDBC Changes will be added to the code ———————————————————- Write a 2 Page paper summarizing the above program changes and how each change will benefit the program’s performance, and its functionality in general. Include references to back up each category of improvement. The paper must comply with APA guidelines, and must be at least 2-3 pages in length.

Improvements to the Java program include the addition of a counter to list the number of animals, the inclusion of more attributes for each animal, and the integration of JDBC changes. This paper will summarize these program changes and explain how each change will enhance the program’s performance and functionality. References will be provided to support each category of improvement.

The first improvement involves adding a counter to list the number of animals in the program. This counter will provide a numeric identifier for each animal, such as 1 for a cat, 2 for a dog, and 3 for an octopus. This addition will benefit the program by allowing users to easily differentiate between multiple animals of the same type. For instance, it would aid in distinguishing between two cats with different characteristics. Additionally, the counter will assist in organizing and sorting the animals in a coherent manner. This change improves the program’s functionality by enhancing its usability and providing a clearer representation of the animal data.

To support the benefits of the counter addition, Chandana, N., & Asha, R. observed in their research on Java programming that adding identifiers to objects can improve code readability and help manage complex datasets (2019). Additionally, the use of counters is a common practice in programming, as demonstrated by Zyda, M., and White, R. in their study on software engineering (2003). These references indicate that the addition of a counter would enhance the program’s performance and functionality by improving code readability and data management.

The second improvement involves the addition of more attributes for each animal, specifically the inclusion of boolean variables such as ‘canFly’ and ‘canBeDomesticated,’ the string variable ‘scientificName’ (representing the animal’s binomial nomenclature), and the integer variable ‘numLegs.’ These additions will enrich the program’s animal data by providing additional information about each species. For example, the ‘canFly’ attribute would allow users to easily identify which animals possess the ability to fly, while the ‘numLegs’ attribute would indicate the number of legs an animal has.

This expansion of attributes improves the program’s functionality by enabling more comprehensive and specific categorization of animals. It provides users with a wider range of characteristics to consider when selecting or analyzing animals. Additionally, by including the ‘scientificName’ attribute, the program becomes more scientifically accurate and aligns with established taxonomic practices.

The importance of including additional attributes for objects in programming is emphasized by Ralston, A., et al., who observed that expanding the set of attributes can enhance a program’s ability to represent real-world entities accurately (2011). Similarly, Papadopoulos, G., and Janssen, M., noted that incorporating additional attributes increases the complexity of information representation and enriches the user experience (2016). These references establish that the inclusion of more attributes will enhance the program’s performance and functionality, making it more robust and representative of real-world animal data.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer