Skip to content

adityakumaar/Bookstore_Application

Repository files navigation

Bookstore Application

OOPS Bookstore Application project

Developed by:

  • Aditya Kumar (202212046)
  • Harsh Mangroliya (202212084)
  • Gaurav Bardia (202212069)
  • Denish Vaghasia (202212028)

Table of Contents

  1. Introduction
  2. Project Architecture
  3. Libraries
  4. Use of HashMap
  5. Use of ArrayList

Introduction

The aim of this project is to develop a Bookstore Application in Java Programming language using the OOPS concepts.


Project Architecture

All the functionalities are divided and defined in separate classes

1. Main.java contains the main menu
2. Book.java returns all the information about the books.
1. Book ID
2. Title
3. Price
4. Quantity
3. BookStore.java stores all the information about the books in an ArrayList.

Methods implemented in this file:
1. addBook()
2. sellBook()
3. displayBooks()
4. PurchaseDetails.java stores and prints all the information that needs to be displayed after the transaction is made.

Methods implemented in this file:
1. printRecord()
5. User.java stores the username, password, fullname, balance of the user
6. UserOperations.java handles all the user activities
1. register()
2. login()
3. purchase()
4. resetPassword
5. logout()

Libraries

The following libraries are used to develop this program


Inbuilt libraries

  1. java.util.ArrayList
  2. import java.util.*
  3. import java.io.Console

Custom library

  1. BookPack
    1. Book.java
    2. BookStore.java
    3. PurchaseDetails.java
    4. User.java
    5. UserOperations.java

Use of HashMap

The HashMap is used for storing the user details with username as the key and User object as the value


Use of ArrayList

The ArrayList is used for storing the Books and creating a Purchase Data Base

About

Java Bookstore Application project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages