Coders Packet

ATM Project using Java-Beginner level

By Rajesh Kolipaka

As the name suggests our project is to design an ATM (basic level) using JAVA. This is further used for designing Advanced level ATM projects.

The packet/source code is about the ATM project for Beginners.

Programming Language used: JAVA

Functionalities:

--> Through this packet beginners will get to know the basic ATM transaction options like Balance inquiry, Withdrawing money, Deposition of money in either a Current Account or Savings Account.

--> We are having three classes in this packet. They are

   1) ATM.java 

   2) Menu.java

   3)Transaction.java

ATM class :

This class is used to initiate the ATM by calling a method(login() method) in the Menu class.

In this class, we will create an object for the Menu class and by using that object we will call that login() method.

Menu class:

In this class we have options like Balance Enquiry, Withdraw money, Deposit money. Each option will call the Account_type() method to know the account is either Current or Savings.

And again Account_method is used to call the appropriate method in the Transaction class based on account type.

Transaction class:

This class contains all transaction process methods based on account type.

The methods in Transaction class based on Current account are

Current_account_Balance_enquiry(),

Current_account_Deposit_money(),

Current_account_Withdraw_money().

The methods in Transaction class based on Savings account are

Savings_account_Balance_enquiry(),

Savings_account_Deposit_money(),

Savings_account_Withdraw_money().

 

You will better understand the code using the comments present in the program.

Download Complete Code

Comments

No comments yet