The Online Auction System is a console-based Java application that simulates an auction process. Users can place bids on a product, and the system automatically determines the highest bidder as the winner. The application allows multiple participants to join the auction and validates bids based on the starting price.
This project demonstrates the use of Java programming concepts such as classes, objects, ArrayList, loops, conditional statements, user input handling, and random message generation.
- Product auction management
- Multiple bidder registration
- Dynamic addition of new bidders
- Bid validation based on starting price
- Automatic winner selection
- Console-based user interface
- Random congratulatory messages for winners
- Java
- Object-Oriented Programming (OOP)
- ArrayList Collection Framework
- Scanner Class
- Random Class
Stores bidder information:
- Bidder Name
- Bid Amount
Handles:
- User input
- Bid collection
- Bid validation
- Winner determination
- Auction result display
- Enter the product name.
- Enter the starting price.
- Register bidders and their bid amounts.
- Additional bidders can join the auction.
- The system validates each bid.
- The highest bid is selected automatically.
- The winner and winning amount are displayed.
===== ONLINE AUCTION SYSTEM =====
Enter Product Name: Laptop
Enter Starting Price: ₹30000
How many persons are ready to bid? 3
Person 1
Enter Name: Rahul
Enter Bid Amount: ₹35000
Person 2
Enter Name: Arjun
Enter Bid Amount: ₹40000
Person 3
Enter Name: Kavin
Enter Bid Amount: ₹38000
Anyone else interested? no
===== AUCTION RESULT =====
Product: Laptop
Winner: Arjun
Winning Bid: ₹40000
Congratulations on winning!
- Classes and Objects
- Constructors
- ArrayList
- Loops
- Conditional Statements
- User Input Handling
- Random Number Generation
- Object-Oriented Programming
- Online Marketplace Auctions
- Product Bidding Systems
- E-Commerce Platforms
- Educational Java Projects
- Auction Simulations
- User Authentication
- Database Integration
- GUI using Java Swing/JavaFX
- Online Payment Integration
- Auction Timer
- Bid History Tracking
- Multiple Product Auctions
Dhinesh G
This project is developed for educational and learning purposes.