QUESTION 1 Account.java Which of the following are local data (local variables)?
ID: 3733380 • Letter: Q
Question
QUESTION 1
Account.java Which of the following are local data (local variables)?
balance
name
acctNum
initBal
owner
number
withdraw
amtToTake
deposit
amtToAdd
getBalance
toString
s
There are no local variables
QUESTION 2
Account.java Which of the following are instance variables for an Account object?
balance
name
acctNum
initBal
owner
number
withdraw
amtToTake
deposit
amtToAdd
getBalance
toString
s
Account objects have no instance variables
QUESTION 3
Account.java Which of the following are actual parameters (also called arguments)?
balance
name
acctNum
initBal
owner
number
withdraw
amtToTake
deposit
amtToAdd
getBalance
toString
s
There are no actual parameters
QUESTION 4
Account.java Which of the following are formal parameters (also called parameters)?
balance
name
acctNum
initBal
owner
number
withdraw
amtToTake
deposit
amtToAdd
getBalance
toString
s
There are no formal parameters
balance
name
acctNum
initBal
owner
number
withdraw
amtToTake
deposit
amtToAdd
getBalance
toString
s
There are no local variables
Explanation / Answer
Account.java Which of the following are local data (local variables)?
----------------------------------------------------------------------------------------------
Account.java Which of the following are instance variables for an Account object?
----------------------------------------------------------------------------------------------
Account.java Which of the following are actual parameters (also called arguments)?
There are no actual parameters
----------------------------------------------------------------------------------------------
Account.java Which of the following are formal parameters (also called parameters)?
initBal
owner
number
amtToTake
amtToAdd
----------------------------------------------------------------------------------------------
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.