{"id":18813076,"url":"https://github.com/mhmdfais/java-projects","last_synced_at":"2025-07-07T15:38:38.067Z","repository":{"id":218171031,"uuid":"745785388","full_name":"MhmdFais/Java-Projects","owner":"MhmdFais","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-12T07:51:33.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T07:07:10.409Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MhmdFais.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-01-20T06:06:11.000Z","updated_at":"2024-01-20T06:07:14.000Z","dependencies_parsed_at":"2024-01-20T08:28:57.558Z","dependency_job_id":"f207e652-f82d-447c-85be-20d260482a2e","html_url":"https://github.com/MhmdFais/Java-Projects","commit_stats":null,"previous_names":["mhmdfais/java-projects"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MhmdFais/Java-Projects","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MhmdFais%2FJava-Projects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MhmdFais%2FJava-Projects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MhmdFais%2FJava-Projects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MhmdFais%2FJava-Projects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MhmdFais","download_url":"https://codeload.github.com/MhmdFais/Java-Projects/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MhmdFais%2FJava-Projects/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264103963,"owners_count":23558033,"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-07T23:36:12.341Z","updated_at":"2025-07-07T15:38:38.041Z","avatar_url":"https://github.com/MhmdFais.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java-Projects\n\nThis repository contains the projects I have done in Java. \nNote - This repository is not a complete list of all the projects I have done in Java.\n\n## Projects\n\n### Rock-Paper-Scissors\nThis is a simple game of Rock-Paper-Scissors. The user plays against the computer. The computer's choice is randomly generated. \nThe user can choose to play again or quit the game.\n\n### Number-Guessing-Game\nThis is a simple game of Number Guessing. The user has to guess a number between 1 and 100. User get three chances to \nguess the number. The computer will tell the user if the number is too high or too low.\n\n### Stack implementation (interface)\nThis is a simple implementation of a stack using an interface. The stack is implemented using an array. \nThe stack has the following methods:\n* `push()` - adds an element to the stack\n* `pop()` - removes an element from the stack\n* `top()` - returns the top element of the stack\n* `topAndPop()` - remove and return top element of the stack\n* `isEmpty()` - check whether the stack is empty\n* `printStack()` - prints the whole stack\n\n### Employee Management System\nThis is a menu-driven program that allows the user to add, delete, search, print and print a given employee. There are\nthree types of employees - Full Time, Contractor and Manager. The program uses inheritance and polymorphism to implement\nthe different types of employees. The program uses an array list of objects to store the employees.\n\n### Student Management System\nThis is a menu-driven program that allows the user to add, delete, search, print and print a given student. The program uses\nan array list of objects to store the students.\n\n### Bus ticket booking system\nA Bus consist f 50 seats, one passenger can book any no.of seats, however it depends on the availability. Seats are \nreserved on a first-come, first-served basis. The passengers are only allowed to board to bus from COLOMBO, JAFFNA,\nANURATHAPURA and VAVUNIYA. The passengers who board to bus from ANURATHAPURA and VAVUNIYA have to pay 25% extra of the\nticket price. However, there are no additional charges for the children. Below are the details of the bus ticket booking system.\n\nCOLOMBO - JAFFNA : 1000.00   // No additional charges\nANURATHAPURA - JAFFNA : 700.00  // additional charges 25%\nVAVUNIYA - JAFFNA : 400.00  // additional charges 25%\nANURATHAPURA - COLOMBO : 400.00 // additional charges 25%\nVAVUNIYA - COLOMBO : 700.00 // additional charges 25%\n\n### ATM Machine\nThis is a simple ATM machine program. The user can deposit, withdraw, check balance and change pin. The program uses a\nswitch case to implement the menu. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhmdfais%2Fjava-projects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhmdfais%2Fjava-projects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhmdfais%2Fjava-projects/lists"}