{"id":27121540,"url":"https://github.com/codesbyprafful/inheritance-based-programs","last_synced_at":"2025-04-09T22:45:40.937Z","repository":{"id":286083391,"uuid":"960306244","full_name":"CodesByPrafful/INHERITANCE-BASED-PROGRAMS","owner":"CodesByPrafful","description":"This repository contains Java Object-Oriented Programming (OOP) concepts, including inheritance, abstraction, interfaces, and polymorphism. It serves as a learning resource for students and developers who want to understand OOP principles through practical examples.","archived":false,"fork":false,"pushed_at":"2025-04-04T08:45:22.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T09:22:50.075Z","etag":null,"topics":["hierarchical-inheritance","inheritance","interface"],"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/CodesByPrafful.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":"2025-04-04T07:53:59.000Z","updated_at":"2025-04-04T08:47:21.000Z","dependencies_parsed_at":"2025-04-04T09:22:52.617Z","dependency_job_id":"79f58186-ba0c-4710-a7bc-90b6e2bf524a","html_url":"https://github.com/CodesByPrafful/INHERITANCE-BASED-PROGRAMS","commit_stats":null,"previous_names":["codesbyprafful/inheritance-based-programs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodesByPrafful%2FINHERITANCE-BASED-PROGRAMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodesByPrafful%2FINHERITANCE-BASED-PROGRAMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodesByPrafful%2FINHERITANCE-BASED-PROGRAMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodesByPrafful%2FINHERITANCE-BASED-PROGRAMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodesByPrafful","download_url":"https://codeload.github.com/CodesByPrafful/INHERITANCE-BASED-PROGRAMS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640468,"owners_count":20971555,"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":["hierarchical-inheritance","inheritance","interface"],"created_at":"2025-04-07T10:59:39.888Z","updated_at":"2025-04-07T10:59:40.419Z","avatar_url":"https://github.com/CodesByPrafful.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"INHERITANCE BASED PROGRAMS REPOSITORY: \n\n\n📌 Overview:\nThis repository contains Java programs demonstrating Object-Oriented Programming (OOP) concepts, including inheritance, interfaces, polymorphism, and abstraction.\nEach program showcases an essential OOP principle through practical implementations.\n\n📂 Programs Included:\n\n🔹 Area of Circle\nCalculates the area of a circle using a coordinate-based approach.\n\nDemonstrates inheritance and method overriding.\n\n🔹 Employee Salary\nSimulates an employee salary system with overtime calculations.\n\nImplements inheritance where a subclass extends a base employee class.\n\n🔹 Factorial Sum\nComputes the factorial sum of numbers using recursion.\n\n🔹 Hierarchical Inheritance\nDemonstrates Hierarchical Inheritance, where multiple subclasses (Circ, Rectangle) implement a common interface (Shape).\n\nShowcases polymorphism with different implementations of the area() method.\n\n🔹 Interface\nImplements Java Interfaces to achieve abstraction and multiple class implementations.\n\n🔹 Product and Sales\nSimulates a product sales system with tax and profit calculations.\n\nDemonstrates inheritance and method overriding for computational methods.\n\n\n🚀 How to Run the Programs:\n\n1️⃣ Clone this repository using:\ngit clone https://github.com/CodesByPrafful/INHERITANCE-BASED-PROGRAMS.git\n\n2️⃣ Navigate to the repository folder:\ncd Java-OOP-Concepts\n\n3️⃣ Compile and run the desired program:\njavac ProgramName.java  \njava ProgramName\n\n\n🎯 Learning Outcomes:\n\n✅ Understanding inheritance, polymorphism, abstraction, and interfaces.\n\n✅ Implementing real-world OOP concepts in Java.\n\n✅ Strengthening Java programming skills with structured examples.\n\n\n🤝 Contributing:\n\nTo contribute to this repository, fork it, make your changes, and create a pull request.\n\nFor any queries, email: praffulshikhar53@gmail.com\n\n\n📜 License:\n\nThis repository is open-source and available under the MIT License.\n\n📌 Author: CodesByPrafful\n\n🔗 GitHub: https://github.com/CodesByPrafful\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesbyprafful%2Finheritance-based-programs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesbyprafful%2Finheritance-based-programs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesbyprafful%2Finheritance-based-programs/lists"}