Severity: Warning
Message: fopen(/tmp/ci_session8fdpqvu1kj7mbplf8ka9dvv9mep4mrub): failed to open stream: No space left on device
Filename: drivers/Session_files_driver.php
Line Number: 176
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
Severity: Warning
Message: session_start(): Failed to read session data: user (path: /tmp)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
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_
Current_account_Deposit_money(
Current_account_Withdraw_
The methods in Transaction class based on Savings account are
Savings_account_Balance_
Savings_account_Deposit_money(
Savings_account_Withdraw_
You will better understand the code using the comments present in the program.
Submitted by Rajesh Kolipaka (Rajesh)
Download packets of source code on Coders Packet
Comments