Variable

Description

Critical Questions Associated with This Variable

static Stock tStock

Static tStock variable used throughout the Transaction class

Q.1

Double totalCost

Double totalCost variable used for total cost of stocks

Q.1

Double acctValue

Double acctValue variable used for account value of transactions

Q.1

Int rowCount = 0

Int rowCount variable set to 0

Q.1

boolean flag = false;

boolean flag variable set to false

Q.1

protected double cost = 0;

protected double variable named cost set to 0

Q.1

static boolean bought = false;

static boolean variable named bought set to false

Q.1, Q.5

static boolean held = false;

static boolean variable named held set to false

Q.1, Q.5

int maxNumshares;

integer variable named maxNumshares for the maximum number of share for each stock

Q.1