{"id":27156042,"url":"https://github.com/it21826740/library-book-management","last_synced_at":"2025-07-08T22:02:38.746Z","repository":{"id":251924668,"uuid":"838861521","full_name":"IT21826740/Library-Book-Management","owner":"IT21826740","description":"a real-world example question that can be solved using Java basics","archived":false,"fork":false,"pushed_at":"2024-08-06T13:48:09.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-06T15:50:48.227Z","etag":null,"topics":["book-management","java","java-basic","library-management-system","simple","simple-java-problems","simple-project"],"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/IT21826740.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":"2024-08-06T13:41:42.000Z","updated_at":"2024-08-06T15:51:15.792Z","dependencies_parsed_at":"2024-08-06T15:51:14.991Z","dependency_job_id":null,"html_url":"https://github.com/IT21826740/Library-Book-Management","commit_stats":null,"previous_names":["it21826740/library-book-management"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IT21826740%2FLibrary-Book-Management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IT21826740%2FLibrary-Book-Management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IT21826740%2FLibrary-Book-Management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IT21826740%2FLibrary-Book-Management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IT21826740","download_url":"https://codeload.github.com/IT21826740/Library-Book-Management/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247918914,"owners_count":21018044,"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":["book-management","java","java-basic","library-management-system","simple","simple-java-problems","simple-project"],"created_at":"2025-04-08T19:57:39.424Z","updated_at":"2025-04-08T19:57:40.201Z","avatar_url":"https://github.com/IT21826740.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Library-Book-Management\n\na real-world example question that can be solved using Java basics:\n\n## Question: Library Book Management\n\n### Problem Statement\n\nYou are tasked with developing a simple program to manage books in a small library. The library needs to keep track of its books, allowing the librarian to perform the following actions:\n\n1. **Add a new book** to the collection.\n2. **Display the details** of all books in the collection.\n3. **Search for a book** by its title.\n\nEach book has the following attributes:\n- `Title`\n- `Author`\n- `ISBN` (International Standard Book Number)\n- `Published Year`\n\n### Requirements\n\n1. **Add a Book**:\n   - Prompt the user to enter the details of a new book.\n   - Store the book in a list.\n\n2. **Display Books**:\n   - Display the details of all books in the collection.\n\n3. **Search a Book**:\n   - Prompt the user to enter the title of the book they want to search for.\n   - Display the details of the book if found; otherwise, display a message saying the book is not found.\n\n### Constraints\n- Use only basic Java constructs: classes, methods, arrays (or ArrayList), loops, and basic input/output.\n\n### Example\n```\nEnter 1 to add a book, 2 to display all books, 3 to search for a book, 4 to exit: 1\nEnter Title: Java Programming\nEnter Author: John Doe\nEnter ISBN: 1234567890\nEnter Published Year: 2020\n\nEnter 1 to add a book, 2 to display all books, 3 to search for a book, 4 to exit: 2\nTitle: Java Programming, Author: John Doe, ISBN: 1234567890, Published Year: 2020\n\nEnter 1 to add a book, 2 to display all books, 3 to search for a book, 4 to exit: 3\nEnter Title to search: Java Programming\nTitle: Java Programming, Author: John Doe, ISBN: 1234567890, Published Year: 2020\n\nEnter 1 to add a book, 2 to display all books, 3 to search for a book, 4 to exit: 4\nGoodbye!\n```\n\nThis example uses basic Java constructs to solve a practical problem, making it an excellent exercise for those learning Java basics.\n\nSELF TRY\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fit21826740%2Flibrary-book-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fit21826740%2Flibrary-book-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fit21826740%2Flibrary-book-management/lists"}