{"id":29368330,"url":"https://github.com/nav773/vehicleandcarproject","last_synced_at":"2026-04-17T06:33:07.884Z","repository":{"id":255970289,"uuid":"850181467","full_name":"nav773/VehicleAndCarProject","owner":"nav773","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-07-09T12:11:34.556Z","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/nav773.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/nav773/VehicleAndCarProject","commit_stats":null,"previous_names":["nav7fsc/vehicleandcarproject","nav773/vehicleandcarproject"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nav773/VehicleAndCarProject","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nav773%2FVehicleAndCarProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nav773%2FVehicleAndCarProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nav773%2FVehicleAndCarProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nav773%2FVehicleAndCarProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nav773","download_url":"https://codeload.github.com/nav773/VehicleAndCarProject/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nav773%2FVehicleAndCarProject/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275062966,"owners_count":25398888,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"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":[],"created_at":"2025-07-09T12:11:15.210Z","updated_at":"2026-04-17T06:33:07.840Z","avatar_url":"https://github.com/nav773.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%2Fnav773%2Fvehicleandcarproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnav773%2Fvehicleandcarproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnav773%2Fvehicleandcarproject/lists"}