{"id":20655156,"url":"https://github.com/narendracodehub/100-java-programs","last_synced_at":"2025-06-24T13:40:15.227Z","repository":{"id":256008190,"uuid":"852947863","full_name":"NarendraCodeHub/100-JAVA-Programs","owner":"NarendraCodeHub","description":"Welcome to the 100-JAVA-Programs repository! This collection is designed to help you improve your understanding of Java and enhance your problem-solving skills through practical coding exercises.","archived":false,"fork":false,"pushed_at":"2025-03-23T18:17:46.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T19:25:55.204Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NarendraCodeHub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-09-05T17:53:14.000Z","updated_at":"2025-03-23T18:17:50.000Z","dependencies_parsed_at":"2024-09-08T13:37:08.196Z","dependency_job_id":"05a8ddce-6ee2-4104-8cc0-f844ca68fa16","html_url":"https://github.com/NarendraCodeHub/100-JAVA-Programs","commit_stats":null,"previous_names":["narendracodehub/100-java-programs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NarendraCodeHub/100-JAVA-Programs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NarendraCodeHub%2F100-JAVA-Programs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NarendraCodeHub%2F100-JAVA-Programs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NarendraCodeHub%2F100-JAVA-Programs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NarendraCodeHub%2F100-JAVA-Programs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NarendraCodeHub","download_url":"https://codeload.github.com/NarendraCodeHub/100-JAVA-Programs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NarendraCodeHub%2F100-JAVA-Programs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261686686,"owners_count":23194319,"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":"2024-11-16T18:09:08.644Z","updated_at":"2025-06-24T13:40:15.190Z","avatar_url":"https://github.com/NarendraCodeHub.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 100-JAVA-Programs\n\nWelcome to the **100-JAVA-Programs** repository! This collection is designed to help you improve your understanding of Java and enhance your problem-solving skills through practical coding exercises.\n\n## What's Inside\n\n- **100 Java Programs**: A curated set of programs covering topics from basic syntax to algorithms, data structures, and object-oriented programming.\n- **Logic Building**: Each program is crafted to challenge and develop logical thinking, crucial for writing efficient and effective code.\n- **Comprehensive Explanations**: Each program is paired with explanations to help you grasp the concepts and reinforce your learning.\n- **Real-World Applications**: Practical programs with direct applications in Java automation and problem-solving.\n\n---\n## How to Use This Repository\n\n1. **Clone the Repository**:  \n   Clone this repository to your local machine using the following command:  \n   ```bash\n   git clone https://github.com/yourusername/100-JAVA-Programs.git\n\n2. **Explore the Programs**: Browse through the programs in the repository. Each program is designed to target specific Java concepts and logic-building exercises.\n\n3.**Practice and Modify**: Run the programs and experiment by modifying the code to observe the effects of your changes. This hands-on approach will solidify your understanding.\n\n\n4. **Contribute**: Found an interesting program or improvement? Feel free to fork the repository, make changes, and submit a pull request!\n\n\nHere's the updated **## File Structure** section for your repository, reflecting the file directory structure with all programs located in the `src` folder:\n\n---\n\n## File Structure\n\nBelow is the list of programs included in this repository, organized under the `src` directory:\n\n1. **Simple Java Program**  \n   File: [src/HelloWorld.java](src/HelloWorld.java)  \n   Description: Prints \"Hello, World!\" to the console.\n\n2. **Print Integer in Java**  \n   File: [src/Integers.java](src/Integers.java)  \n   Description: Prints an integer to the console.\n\n3. **Command Line Argument**  \n   File: [src/Arguments.java](src/Arguments.java)  \n   Description: Demonstrates handling and printing of command-line arguments.\n\n4. **Get Input Using Scanner**  \n   File: [src/GetInputFromUser.java](src/GetInputFromUser.java)  \n   Description: Accepts user input using the `Scanner` class.\n\n5. **Convert Fahrenheit to Celsius**  \n   File: [src/FahrenheitToCelsius.java](src/FahrenheitToCelsius.java)  \n   Description: Converts a temperature from Fahrenheit to Celsius.\n\n6. **Swap Two Numbers Using a Third Variable**  \n   File: [src/SwapNumbers.java](src/SwapNumbers.java)  \n   Description: Swaps two numbers with a temporary variable.\n\n7. **Swap Two Numbers Without a Third Variable**  \n   File: [src/SwapNumbersWithout.java](src/SwapNumbersWithout.java)  \n   Description: Swaps two numbers without using any additional variable.\n\n8. **Add Two Numbers**  \n   File: [src/AddNumbers.java](src/AddNumbers.java)  \n   Description: Adds two numbers and displays the result.\n\n9. **Find the Largest Number**  \n   File: [src/LargestOfThreeNumbers.java](src/LargestOfThreeNumbers.java)  \n   Description: Determines the largest number among three inputs.\n\n10. **If-Else Clause in Java**  \n    File: [src/IfElse.java](src/IfElse.java)  \n    Description: Demonstrates the `if-else` clause.\n\n11. **Check Odd or Even Number**  \n    File: [src/OddOrEven.java](src/OddOrEven.java)  \n    Description: Checks if a number is odd or even.\n\n12. **Find Factorial of a Number**  \n    File: [src/Factorial.java](src/Factorial.java)  \n    Description: Calculates the factorial of a given number.\n\n13. **Compare Two Strings**  \n    File: [src/CompareString.java](src/CompareString.java)  \n    Description: Compares two strings lexicographically.\n\n14. **Simple For Loop Program**  \n    File: [src/ForLoop.java](src/ForLoop.java)  \n    Description: Demonstrates a `for` loop to print a range of numbers.\n\n15. **Simple While Loop Program**\n\n     File: [src/WhileLoop.java](src/WhileLoop.java)  \n      Description: Demonstrates a `while` loop simple program with numbers.\n\n16. **Print Reverse Number**\n\n     File: [src/ReverseNumber.java](src/ReverseNumber.java)  \n    Description: Reverses a valid positive integer and handles single-digit numbers and leading zeros.\n\n\n---\n\n## Who This Repository Is For\n**Beginners**: If you're new to Java, this repository is a great way to get hands-on experience with a wide range of Java concepts.\n\n**Intermediate** Developers: Strengthen your logical thinking and code efficiency with increasingly complex programs.\n\n**Automation** Engineers: Enhance your Java skills with practical programs that are directly applicable to Java automation.\n\n## Contributing\nWe welcome contributions! If you have an idea for a new program or an improvement to an existing one, please fork the repository and submit a pull request. Your contributions can help others learn and grow.\n\n## License\nThis repository is licensed under the MIT License. See the LICENSE file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarendracodehub%2F100-java-programs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarendracodehub%2F100-java-programs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarendracodehub%2F100-java-programs/lists"}