{"id":24021170,"url":"https://github.com/zipcodecore/maven.quiz9-5","last_synced_at":"2026-06-11T04:31:21.435Z","repository":{"id":147837991,"uuid":"484150952","full_name":"ZipCodeCore/Maven.Quiz9-5","owner":"ZipCodeCore","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-21T22:14:07.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T12:41:25.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZipCodeCore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-21T17:49:34.000Z","updated_at":"2022-04-21T17:52:44.000Z","dependencies_parsed_at":"2023-04-06T06:47:39.648Z","dependency_job_id":null,"html_url":"https://github.com/ZipCodeCore/Maven.Quiz9-5","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FMaven.Quiz9-5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FMaven.Quiz9-5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FMaven.Quiz9-5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FMaven.Quiz9-5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZipCodeCore","download_url":"https://codeload.github.com/ZipCodeCore/Maven.Quiz9-5/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240766672,"owners_count":19854114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-08T12:39:36.153Z","updated_at":"2026-06-11T04:31:21.363Z","avatar_url":"https://github.com/ZipCodeCore.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quiz 9-5\n\n## Overview\n* This quiz will measure your understanding of Object Orientation:\n\t1. object orientation - (complete the following)\n\t\t* `Account`\n\t\t* `BankAccount`\n\t\t* `Bank`\n\t\t* `Transactable`\n\t\t* `Employee`\n\t\t* `Worker`\n\n\n\n\u003chr\u003e\n\u003chr\u003e\n\n## Object Orientation\n### Account\n* **Description**\n\t* The purpose of this class is to create a model of an `Account`.\n* **Methods to Complete**\n\t* `Long getId()`\n\t* `void setId(Long id)`\n\n\t\n\n### BankAccount\n* **Description**\n\t* The purpose of this class is to create a subclass of an `Account` which implements `Transactable`.\n* **Methods to Complete**\n\t* `void setBalance(Double double)`\n\n\n\n### Bank\n* **Description**\n\t* The purpose of this class is to create an encapsulation of a `Collection` of `BankAccount` objects.\n* **Methods to Complete**\n\t* `BankAccount removeBankAccountByIndex(Integer indexNumber)`\n\t* `void addBankAccount(BankAccount bankAccount)`\n\t* `Boolean containsBankAccount(BankAccount bankAccount)`\n\n\n\n### Employee\n* **Description**\n\t* The purpose of this class is to create an implementation of a `Worker` and `Transactable` which can `deposit`, `withdrawal`, and `getBalance`, of its composite `BankAccount`.\n* **Methods to Complete**\n\t* `BankAccount getBankAccount()`\n\t* `void setBankAccount(BankAccount bankAccount)`\n\n\t\t\n### Transactable\n* **Description**\n\t* The purpose of this interface is to ensure a class can `deposit`, `withdrawal`, and `getBalance`.\n* **Methods to Complete**\n\t* `void deposit(Double amountToIncreaseBy)`\n\t* `void withdrawal(Double amountToDecreaseBy)`\n\t* `Double getBalance()`\n\n### Worker\n* **Description**\n\t* The purpose of this interface is to ensure a class has `BankAccount`\n* **Methods to Complete**\n\t* `BankAccount getBankAccount()`\n\t* `void setBankAccount(BankAccount bankAccount)`\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzipcodecore%2Fmaven.quiz9-5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzipcodecore%2Fmaven.quiz9-5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzipcodecore%2Fmaven.quiz9-5/lists"}