{"id":21652020,"url":"https://github.com/nav7fsc/vehicleandcarproject","last_synced_at":"2025-03-20T04:07:26.741Z","repository":{"id":255970289,"uuid":"850181467","full_name":"nav7FSC/VehicleAndCarProject","owner":"nav7FSC","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-02T01:29:32.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T05:43:31.357Z","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/nav7FSC.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-31T04:38:04.000Z","updated_at":"2024-09-02T01:29:35.000Z","dependencies_parsed_at":"2024-09-08T07:40:16.097Z","dependency_job_id":"812223b6-03b1-4c69-baec-528c417852af","html_url":"https://github.com/nav7FSC/VehicleAndCarProject","commit_stats":null,"previous_names":["nav7fsc/vehicleandcarproject"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nav7FSC%2FVehicleAndCarProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nav7FSC%2FVehicleAndCarProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nav7FSC%2FVehicleAndCarProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nav7FSC%2FVehicleAndCarProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nav7FSC","download_url":"https://codeload.github.com/nav7FSC/VehicleAndCarProject/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244547605,"owners_count":20470103,"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-25T07:50:43.319Z","updated_at":"2025-03-20T04:07:26.721Z","avatar_url":"https://github.com/nav7FSC.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vehicle and Car Java Project\n\n## Overview\n\nThis project demonstrates the creation of a basic Java class hierarchy with a `Vehicle` class and a `Car` class. The `Car` class extends `Vehicle` and includes additional attributes and methods.\n\n## Project Structure:\n\n- **Vehicle.java**: Defines a `Vehicle` class with attributes `numberOfWheels`, `color`, `engineSize`, and `fuelType`.\n- **Car.java**: Extends `Vehicle`, adding the `brand` attribute and methods like `honk()` and `displayInfo()`.\n- **Main.java**: Contains the `main` method to test the classes by creating instances of `Vehicle` and `Car` and invoking their methods.\n\n## Example Output\n\n- Honk, honk!\n- Car Details:\n- Brand: Volvo\n- Number of Wheels: 4\n- Color: Yellow\n- Engine Size: 2.5 liters\n- Fuel Type: Petrol\n\n## How to Run\n## Prerequisites:\n\n- **IntelliJ IDEA**: Ensure that IntelliJ IDEA is installed on your system.\n- **Java SDK**: Make sure Java SDK is installed and configured.\n\n## Project Files:\n\n- Vehicle.java: Defines the Vehicle class with attributes for general vehicle properties.\n- Car.java: Defines the Car class, extending Vehicle with additional attributes and methods specific to cars.\n- Main.java: Provides a main method for testing the classes, creating instances, and invoking methods.\n- README.md: This file, providing an overview and detailed instructions for the project.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnav7fsc%2Fvehicleandcarproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnav7fsc%2Fvehicleandcarproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnav7fsc%2Fvehicleandcarproject/lists"}