Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

QUESTION 1 Account.java Which of the following are instance variables for an Acc

ID: 3606501 • Letter: Q

Question

QUESTION 1

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

1 points   

QUESTION 2

Account.java Which of the following are members of the class Account?

balance

name

acctNum

initBal

owner

number

withdraw

amtToTake

deposit

amtToAdd

getBalance

toString

s

The Account class has no members.

1 points   

QUESTION 3

Account.java Which of the following are mutators?

balance

name

acctNum

initBal

owner

number

withdraw

amtToTake

deposit

amtToAdd

getBalance

toString

s

There are no mutators

1 points   

QUESTION 4

What is the line number for the header of the constructor?

1 points   

QUESTION 5

Copy of

Account.java Which of the following provide the behavior of an Account object?

balance

name

acctNum

initBal

owner

number

withdraw

amtToTake

deposit

amtToAdd

getBalance

toString

s

Account objects have no behavior

1 points   

QUESTION 6

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

1 points   

QUESTION 7

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

1 points   

QUESTION 8

Account.java Which of the following are accessors?

balance

name

acctNum

initBal

owner

number

withdraw

amtToTake

deposit

amtToAdd

getBalance

toString

s

There are no accessors

1 points   

QUESTION 9

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

1 points   

QUESTION 10

Account.java Which of the following comprise the state of an Account object?

balance

name

acctNum

initBal

owner

number

withdraw

amtToTake

deposit

amtToAdd

getBalance

toString

s

Account objects have no state

balance

name

acctNum

initBal

owner

number

withdraw

amtToTake

deposit

amtToAdd

getBalance

toString

s

Account objects have no instance variables

Explanation / Answer

Please find my answer for first 5 Questions.

Please repost others in separate post. Also post Account.java

Q1.

instance variables for an Account object

Ans: balance, name, acctNum

Q2.

members of the class Accoun

Ans: balance, name, acctNum, withdrawm, deposit, getBalance, toString

Q3. Which of the following are mutators?

Ans: withdraw, deposit

Q4.What is the line number for the header of the constructor?

Ans: 07 public Account(double initBal, String owner, long number)

Q5.Which of the following provide the behavior of an Account object?

Ans:withdrawm, deposit, getBalance, toString

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote