Class Diagram For Global Banking:

 

Pseudocode:

public class Account_Holder 

{

/* This module takes input from the Account Holder i.e his Account Number, Account type, Name and selects the operation he wants to perform. From here the control is shifted to the operation the user has specified.*/

private String Name;// Name of the Account Holder
private int Acct_No;// Account Number
private String Acct_type;//Account Type
public Selectoperation Operation()

 {

Transfer the control to the operation chosen by the user.
}

Get input from the user.

Ask the user which operation he wants to perform.
}

public class Paybill 

 {

/* When the user selects the operation paybill then this module is activated. It asks password from the user to make sure that he is the correct person to access the account.*/

private String Destname;
private int Amount;
private String Password;
public void Paybill()

 {

Get Amount from User;

Get Destination Name From User.

Get Password From User.

/*This module takes as input the amount of money to be transferred and Destination Name. The bank has a list of customers. If user wants to pay bill he can do so by selecting Destination Name.*/
}

public void validate()

 {

check whether the user is allowed to access record;

//This module is used for validation. Control is shifted to fundsmng which does this validation operation. 
}

}

public class Transfer

{

/* When the user selects the operation Transfer then this module is activated. It asks password from the user to make sure that he is the correct person to access the account.*/

private int TAcct_No;
private int Money;
private String TAcct_type;
private String Password;

public void Transfer()

{

Get Amount from User;

Get Destination Account Number From User.

Get Destination Account Type From User.

Get Password from User.

/*This module takes as input the amount of money to be transferred and Destination Account Number,Destination Account Type. .*/

}

public void Validate()

 {

check whether the user is allowed to access record;

//This module is used for validation. Control is shifted to fundsmng which does this validation operation. 

}

}

public class Check_Money 

{

private String Password;

/* When the user selects the operation Transfer then this module is activated. It asks password from the user to make sure that he is the correct person to access the account.*/
public void Check()

 {

Get Password from User.

/*This module takes password as input.*/

}

public void Validate() 

{

check whether the user is allowed to access record;

//This module is used for validation. Control is shifted to fundsmng which does this validation operation. 


}

}

public class Funds_Mng 

{

/*This is important module and access of database is done through this module. It gets request from other and performs the operation as desired.*/

private int Amount;
private int Acct_no;
private String Acct_type;
private String Name;
public void Update() 

{

/*This is one of the important Operation. After performing Transfer or pay bill Operation. This module is used to update the information in the database.*/
}

public void Validate()

 {

/*As requests come from various other modules this module acess the database and checks for authencity of the user.*/
}

}