Skip to content

Latest commit

 

History

History

Java Programming

Internet Billing Demo Using Java

Overview

This project is a demonstration of an Internet Billing System implemented in Java. The system manages customer details, including adding new customers, searching for existing customers, making payments, and removing customers.

Features

  • Add Customer: Add new customer details to the system.
  • Search Customer: Search for existing customers by their ID.
  • Make Payment: Process payments for customers and update their balance.
  • Remove Customer: Remove customer details from the system.

Project Structure

  • Customer.java: Defines the Customer class, representing a customer's details.
  • CustomerManager.java: Handles customer-related operations such as adding, searching, and removing customers.
  • FileManager.java: Utility class for printing characters to the console for UI formatting.
  • InternetBillingPortal.java: Main entry point of the application, providing the user interface and navigation.
  • PaymentManager.java: Handles payment processing for customers.
  • Customers.txt: Stores customers details.

Usage

  1. Clone the Repository

    git clone https://github.com/amritBskt/Internet-Billing-Demo/Java Programming.git
  2. Navigate to the Project Directory

    cd Java Programming
  3. Compile the Java Files

    javac *.java
  4. Run the Application

    java InternetBillingPortal

Running the Application

  1. Run the application. You will see the main menu with the following options:

    • Add Customer
    • Search Customer
    • Make Payment
    • Remove Customer
    • Exit
  2. Select an option by entering the corresponding number.

    Add Customer : Enter the customer's details as prompted. The system will save these details into Customers.txt.

    Search Customer : Enter the customer ID to search for. The system will display the customer's details if found.

    Remove Customer : Enter the customer ID to remove the customer from the system.

    Exit : Exits the application.

    EXAMPLE

    ********************************************************
                  WORLDLINK COMMUNICATIONS LIMITED
                          Kathmandu, Nepal
    ********************************************************
    
    Welcome to Internet Billing Portal of Worldlink.
    Press Enter to continue...
    
    ========================================================
    1. Add Customer
    2. Search Customer
    3. Make Payment
    4. Remove Customer
    5. Exit
    ========================================================
    Enter your choice :
    

License

This project is licensed under the MIT License.

Contact