From 85b023c7f47589fa79dd6dd41a9d5843e0f89c6f Mon Sep 17 00:00:00 2001 From: Hedi Lengliz Date: Tue, 17 Oct 2023 16:41:33 +0100 Subject: [PATCH 1/2] README JW --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..283a963 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# JavaWorkshops +series of constructive java Workshops +We started by creating the main class ZooManagement with integer and String variables for the number of cages and the zoo name, respectively. +Then, we allowed user input for these variables using the Scanner class, ensuring proper data handling. +We constructed classes for managing the zoo, animals, and specific animal types such as Aquatic and Terrestrial, incorporating inheritance and encapsulation concepts. +We implemented methods within the Zoo class for checking zoo capacity and comparing zoos based on the number of animals, ensuring efficient zoo management. +We created specific subclasses for Aquatic animals, such as Dolphin and Penguin, each with unique attributes and behaviors, illustrating the diversity within the animal kingdom. +Finally, we instantiated the various classes and demonstrated their functionalities within the main method, providing a comprehensive overview of the entire zoo management system and animal classification within the program. + + + From 0e3efa06c640a7fb1aaad00ad83fdb4fbe1fccc4 Mon Sep 17 00:00:00 2001 From: Hedi Lengliz Date: Tue, 17 Oct 2023 16:42:01 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 283a963..8613ea5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # JavaWorkshops -series of constructive java Workshops +# series of constructive java Workshops We started by creating the main class ZooManagement with integer and String variables for the number of cages and the zoo name, respectively. Then, we allowed user input for these variables using the Scanner class, ensuring proper data handling. We constructed classes for managing the zoo, animals, and specific animal types such as Aquatic and Terrestrial, incorporating inheritance and encapsulation concepts.