{"id":22190984,"url":"https://github.com/yuhexiong/object-oriented-programming-java","last_synced_at":"2025-03-24T20:41:24.285Z","repository":{"id":200148982,"uuid":"704865351","full_name":"yuhexiong/object-oriented-programming-java","owner":"yuhexiong","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-14T13:04:16.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T01:14:47.803Z","etag":null,"topics":["java","object-oriented-programming","oop"],"latest_commit_sha":null,"homepage":"","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/yuhexiong.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}},"created_at":"2023-10-14T10:36:57.000Z","updated_at":"2023-12-26T09:54:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"b976452f-8df5-4596-b9b6-e6c6cc71cbd8","html_url":"https://github.com/yuhexiong/object-oriented-programming-java","commit_stats":null,"previous_names":["yuhexiong/object-oriented-programming-java"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Fobject-oriented-programming-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Fobject-oriented-programming-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Fobject-oriented-programming-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Fobject-oriented-programming-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuhexiong","download_url":"https://codeload.github.com/yuhexiong/object-oriented-programming-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245351757,"owners_count":20601087,"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":["java","object-oriented-programming","oop"],"created_at":"2024-12-02T12:13:49.193Z","updated_at":"2025-03-24T20:41:24.257Z","avatar_url":"https://github.com/yuhexiong.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Object Oriented Programming\nExamples for four basic principles of object oriented programming\n\n### 1. Abstraction (抽象)\n\n父類別定義abstract方法，於子類別Override進行實作。\n\n### 2. Encapsulation (封裝)\n\n宣告為private的屬性或方法無法直接公開取用，必要時另外寫public method另外提供使用。\n\n### 3. Polymorphism (封裝)\n\n同樣的方法，在不同子類別中可以進行Override，達到不同的結果。\n\n### 4. Inheritance (繼承)\n\n子類別可以使用父類別的public屬性與方法。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhexiong%2Fobject-oriented-programming-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuhexiong%2Fobject-oriented-programming-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhexiong%2Fobject-oriented-programming-java/lists"}