{"id":26198344,"url":"https://github.com/shivam-kumar-59/java-oops","last_synced_at":"2026-05-22T22:32:35.870Z","repository":{"id":265872897,"uuid":"895930792","full_name":"SHIVAM-KUMAR-59/JAVA-OOPS","owner":"SHIVAM-KUMAR-59","description":"Welcome to my Java OOPs Learning Repository! 🎓 This repository serves as a collection of all the Java programs I write while exploring and mastering the concepts of Object-Oriented Programming (OOP).","archived":false,"fork":false,"pushed_at":"2024-12-08T03:32:26.000Z","size":569,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T08:24:15.409Z","etag":null,"topics":["java","oop","oop-principles","oops-in-java","software-development","software-engineering"],"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/SHIVAM-KUMAR-59.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-29T07:55:08.000Z","updated_at":"2024-12-08T03:32:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f61a4e64-629d-4055-aff2-db74f89aa745","html_url":"https://github.com/SHIVAM-KUMAR-59/JAVA-OOPS","commit_stats":null,"previous_names":["shivam-kumar-59/java-oops"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SHIVAM-KUMAR-59/JAVA-OOPS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHIVAM-KUMAR-59%2FJAVA-OOPS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHIVAM-KUMAR-59%2FJAVA-OOPS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHIVAM-KUMAR-59%2FJAVA-OOPS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHIVAM-KUMAR-59%2FJAVA-OOPS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SHIVAM-KUMAR-59","download_url":"https://codeload.github.com/SHIVAM-KUMAR-59/JAVA-OOPS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHIVAM-KUMAR-59%2FJAVA-OOPS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33374093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-22T21:56:13.512Z","status":"ssl_error","status_checked_at":"2026-05-22T21:56:10.769Z","response_time":265,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","oop","oop-principles","oops-in-java","software-development","software-engineering"],"created_at":"2025-03-12T02:51:46.287Z","updated_at":"2026-05-22T22:32:35.865Z","avatar_url":"https://github.com/SHIVAM-KUMAR-59.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Java OOPs Learning Repository** 📚✨\n\nWelcome to my **Java OOPs Learning Repository**! 🎓 This repository serves as a collection of all the Java programs I write while exploring and mastering the concepts of **Object-Oriented Programming (OOP)**.\n\nWhether you're a beginner trying to understand OOP principles or someone looking to revise Java concepts, feel free to explore, use, and contribute to this repository.\n\n---\n\n## **Contents** 📂\nThe repository is structured into folders representing different OOP topics for better organization:\n\n\u003cdetails close\u003e\n\u003csummary\u003e\u003ccode\u003e1. Introduction \u0026 Concepts 🏗️\u003c/code\u003e\u003c/summary\u003e\n\n* OOP Introduction\n* Java Classes\n* Example of a Class\n* Java Objects\n* Class vs Object\n* Properties of Object\n* Objects Introduction\n* How to access instance variables?\n* How to create objects?\n* Dynamic Memory Allocation\n* How to manipulate objects?\n* Java Constructors\n* By Default Constructor\n* Creating Constructors\n* `this` keyword\n* Constructor Overloading\n* Calling a constructor from another constructor\n* Wrapper Classes\n* `final` keyword\n* Garbage Collection\n\u003c/details\u003e\n\n\n\n\u003cdetails close\u003e\n\u003csummary\u003e\u003ccode\u003e2. Packages, Static, Singleton Class, In-built Methods 📦⚡\u003c/code\u003e\u003c/summary\u003e\n\n* Java Packages\n* `import` statement\n* Static elements example\n* `static` in Java\n* Static variable meaning\n* Non-static member inside a static\n* Static member inside a non-static\n* `this` keyword inside static\n* Initialisation of static variables\n* Singleton Class\n\u003c/details\u003e\n\n\n\n\u003cdetails close\u003e\n\u003csummary\u003e\u003ccode\u003e3. Principles - Inheritance, Polymorphism, Encapsulation, Abstraction 💡🔒\u003c/code\u003e\u003c/summary\u003e\n\n* Principles of OOP\n* Inheritance\n* `private` keyword\n* `super` keyword\n* Single Inheritance\n* Multiple Inheritance\n* Hierarchical Inheritance\n* Hybrid Inheritance\n* Polymorphism\n* Types of Polymorphism\n* Static Polymorphism\n* Overloading\n* Dynamic Polymorphism\n* Overriding\n* How Overriding Works?\n* `final` keyword\n* Can we override static methods?\n* Encapsulation\n* Abstraction\n* Encapsulation vs Abstraction\n\u003c/details\u003e\n\n\n\n\u003cdetails close\u003e\n\u003csummary\u003e\u003ccode\u003e4. Access Control, In-built Packages, Object Class 🔑\u003c/code\u003e\u003c/summary\u003e\n\n* Example: private, public and protected modifiers\n* Rules for modifiers\n* When to use which modifier?\n* In-built Packages\n* `lang` package\n* `io` package\n* `util` package\n* `applet` package\n* `net` package\n* Object Class\n* Object Methods\n* hashCode Method\n* equals Method\n\u003c/details\u003e\n\n\n\n\u003cdetails close\u003e\n\u003csummary\u003e\u003ccode\u003e5. Abstract Classes, Interfaces, Annotations 📝\u003c/code\u003e\u003c/summary\u003e\n\n* Multiple Inheritance Problem\n* Abstract Classes\n* Abstract Constructors\n* Object of an Abstract Class\n* Abstract Static Methods\n* Static Methods in Abstract Classes\n* `final` Keyword in Abstract Class\n* Multiple Inheritance using Abstract Classes\n* Interfaces\n* Variable of Interface Type\n* Separate Classes in Same Interface\n* Extending Interfaces\n* Annotations\n* Important point regarding Static Interface methods\n* Nested Interfaces\n\u003c/details\u003e\n\n\n\n\u003cdetails close\u003e\n\u003csummary\u003e\u003ccode\u003e6. Generics, Custom ArrayList, Lambda Expressions, Exception Handling, Object Cloning ⚙️\u003c/code\u003e\u003c/summary\u003e\n\n* Custom ArrayList\n* Problem with Custom ArrayList\n* Custom ArrayList using Generics\n* Working with Generics\n* Using Java Wildcards\n* Comparison Objects\n* Lambda Functions\n* Exception Handling\n* Exception Handling Keywords\n* Creating Custom Exception\n* Object Cloning\n* Shallow and Deep Copy\n* Explanation of Shallow Copying\n* Explanation of Deep Copying\n\u003c/details\u003e\n\n\n\n\u003cdetails close\u003e\n\u003csummary\u003e\u003ccode\u003e7. Collections Framework, Vector Class, Enums in Java 🛠️\u003c/code\u003e\u003c/summary\u003e\n\n* Collections Framework\n* Need of Collection Framework in Java\n* Understanding Collection Framework\n* Vector Class\n* Vector Synchronisation\n* Vector Code Example\n* Enums in Java\n* Enum Inheritance\n\n\u003c/details\u003e\n\n\n---\n\n## **How to Use** 🚀\n- Clone or download this repository:\n  ```bash\n  git clone https://github.com/yourusername/Java-OOPs-Learning.git\n\n- Navigate through the folders to explore codes for each OOP concept. \n\n- Run the programs in your Java IDE (e.g., IntelliJ IDEA, Eclipse, or VS Code).\n  ```bash\n  javac file_name.java # For Compilation\n  java file_name.java # For Execution\n\n## **Contributing** 🤝\n\nIf you'd like to contribute or add more examples:\n\n1. **Fork** the repository.\n\u003cbr/\u003e\u003cbr/\u003e\n2. **Create a new branch**:\n   ```bash\n   git checkout -b new-feature\n\n3. **Commit your changes**:\n   ```bash\n   git commit -m \"Added examples for polymorphism\"\n\n4. **Push to the branch**:\n   ```bash \n   git push origin new-feature\n\n5. **Submit a pull request** to the main branch.\n\n## **Acknowledgement** 🌟\n\nA big thanks to all the Java tutorials, mentors, and documentation that have helped me in my learning journey! Special gratitude to the open-source community for inspiring this repository. 🙌\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivam-kumar-59%2Fjava-oops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivam-kumar-59%2Fjava-oops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivam-kumar-59%2Fjava-oops/lists"}