{"id":28445324,"url":"https://github.com/suptarr/workshop-java-fundamental-may","last_synced_at":"2026-07-18T11:06:16.091Z","repository":{"id":294361770,"uuid":"986722494","full_name":"SupTarr/workshop-java-fundamental-may","owner":"SupTarr","description":"A workshop for learning the fundamentals of Java programming.","archived":false,"fork":false,"pushed_at":"2025-06-04T07:58:46.000Z","size":335,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T22:37:46.880Z","etag":null,"topics":["java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SupTarr.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,"zenodo":null}},"created_at":"2025-05-20T03:16:57.000Z","updated_at":"2025-06-04T07:58:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff0fc1d4-fada-4d50-9f18-480e2850c7a0","html_url":"https://github.com/SupTarr/workshop-java-fundamental-may","commit_stats":null,"previous_names":["suptarr/workshop-java-fundamental-may"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SupTarr/workshop-java-fundamental-may","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupTarr%2Fworkshop-java-fundamental-may","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupTarr%2Fworkshop-java-fundamental-may/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupTarr%2Fworkshop-java-fundamental-may/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupTarr%2Fworkshop-java-fundamental-may/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SupTarr","download_url":"https://codeload.github.com/SupTarr/workshop-java-fundamental-may/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupTarr%2Fworkshop-java-fundamental-may/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35615603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"],"created_at":"2025-06-06T10:12:30.473Z","updated_at":"2026-07-18T11:06:16.075Z","avatar_url":"https://github.com/SupTarr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# workshop-java-fundamental-may\n\nA workshop for learning the fundamentals of Java programming. This repository contains exercises covering basic syntax,\nobject-oriented programming concepts, and more.\n\n## Prerequisites\n\n* Java Development Kit (JDK) installed (e.g., JDK 21 or later).\n* An IDE like Visual Studio Code, IntelliJ IDEA, or Eclipse (optional, but recommended).\n* Basic understanding of programming concepts.\n\n## How to Run the Exercises\n\nEach numbered directory (e.g., `01-starting-point`, `06-class`) and the `health` directory contains a separate set of\nexercises or a mini-project.\n\n1. **Navigate to the exercise directory:**\n\n   Open your terminal or command prompt and change to the specific directory for the exercise you want to run. For\n   example:\n\n    ```bash\n    cd 01-starting-point\n    ```\n\n   Or for exercises with packages:\n\n    ```bash\n    cd health\n    ```\n\n   Or\n\n    ```bash\n    cd 07-interface/part07\n    ```\n\n2. **Compile the Java files:**\n   Use the `javac` command.\n\n    * If the files are not in a package (e.g., in `01-starting-point`, `06-class`):\n\n        ```bash\n        javac *.java\n        ```\n\n    * If the files are in a package (e.g., `health`, `07-interface/part07`):\n\n      From within the package directory (e.g., `health` or `part07`):\n\n        ```bash\n        javac *.java\n        ```\n\n      Or, from the parent directory of the package (e.g., `07-interface` for package `part07`):\n\n        ```bash\n        javac part07/*.java\n        ```\n\n3. **Run the main class:**\n   Use the `java` command.\n\n    * If the main class is not in a package:\n\n        ```bash\n        java Main\n        ```\n\n    * If the main class is in a package (e.g., `health.Main` or `interface_07.Main`):\n      From the directory *above* the package structure (e.g., from `workshop-java-fundamental-may` if your `health`\n      package is directly under it, or from `07-interface` if your `part07` package is under it):\n\n        ```bash\n        java health.Main\n        ```\n\n        ```bash\n        java interface_07.Main\n        ```\n\n## Modules / Exercises\n\nThis workshop is divided into the following modules:\n\n* **[01-starting-point](starting_point_014):** Introduction to Java syntax, primitive types, wrapper types, and arrays.\n    * [`Main.java`](starting_point_01/Main.java)\n    * [`Array.java`](starting_point_01/Array.java)\n* **[06-class](06-class):** Understanding classes, objects, constructors, getters, setters, encapsulation, and\n  inheritance.\n    * [`Loan.java`](class_06/Loan.java)\n    * [`Mortgage.java`](class_06/Mortgage.java)\n    * [`Auto.java`](class_06/Auto.java)\n    * [`Main.java`](class_06/Main.java)\n* **[07-interface](07-interface/part07):** Working with interfaces and polymorphism. (Code is in `part07` package)\n    * [`Loan.java`](07-interface/part07/Loan.java) (Interface)\n    * [`Auto.java`](07-interface/part07/Auto.java)\n    * [`Mortgage.java`](07-interface/part07/Mortgage.java)\n    * [`Main.java`](07-interface/part07/Main.java)\n* **[health](health):** A mini-project demonstrating classes, inheritance, and interfaces in a `health` package.\n    * [`Worker.java`](health/Worker.java) (Superclass)\n    * [`Doctor.java`](health/Doctor.java)\n    * [`Nurse.java`](health/Nurse.java)\n    * [`health.java`](health/Health.java) (Interface)\n    * [`Main.java`](health/Main.java)\n\n## License\n\nThis project is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuptarr%2Fworkshop-java-fundamental-may","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuptarr%2Fworkshop-java-fundamental-may","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuptarr%2Fworkshop-java-fundamental-may/lists"}