This project is a car dealership management system developed in Java. It handles inventory management, sales tracking, and data organization for car brands such as Toyota, Honda, and Suzuki. The system leverages various Java classes for modular design and implements key data structures for efficient operation.
- Inventory Management: Track stock for Toyota, Honda, and Suzuki cars.
- Sales Tracking: Record and manage sold cars for each brand.
- User Interaction: Provides a menu-driven interface for managing inventory and sales.
- Data Structures: Uses linked lists for efficient data storage and manipulation.
- Programming Language: Java
- Libraries:
Scannerfor user input.LinkedListfor managing dynamic data structures.
-
Initialization:
- The program initializes stock and sales lists for each car brand.
- Provides a menu for user interaction.
-
Core Functionalities:
- Add cars to stock.
- Record car sales and update inventory.
- Display available stock and sold cars.
-
Error Handling:
- Validates user input to prevent incorrect operations.
Main.java: The main entry point of the program that integrates all functionalities and manages user interactions.Function.java: Contains core methods for processing operations like adding, removing, or displaying data.List.java: Implements the list structure to manage stock and sales.Elemen.java: Represents individual elements (e.g., cars) within the list.Mobil.java: Defines the car object with attributes like name, type, color, and license plate.data_mobil.java: Stores and manages car data, potentially linking with the list for inventory and sales.
-
Setup:
- Compile all
.javafiles using a Java compiler. - Run the
Mainclass to start the application.
- Compile all
-
Usage Instructions:
- Follow the menu prompts to manage car stock and sales.
- Input car details when prompted (e.g., name, type, color, license plate).
- Name: Ilham Muhammad Arif
- Institution: Politeknik Negeri Semarang
- Course: Data Structures Practicum