SuperTutor

(15)

$15/per page/Negotiable

About SuperTutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Business & Finance See all
Accounting,Business & Finance,Economics,Engineering,HR Management,Math Hide all
Teaching Since: Apr 2017
Last Sign in: 327 Weeks Ago, 5 Days Ago
Questions Answered: 12843
Tutorials Posted: 12834

Education

  • MBA, Ph.D in Management
    Harvard university
    Feb-1997 - Aug-2003

Experience

  • Professor
    Strayer University
    Jan-2007 - Present

Category > Programming Posted 18 May 2017 My Price 9.00

The bank offers customers two type of accounts

A bank maintains the accounts for its customers. The bank offers customers two type of accounts - a checking account and a savings account. The checking account charges ustomers a fixed service charge of $25.00 per month. The savings account yields a fixed interest rate of 3% per year on the monthly balance. The bank allows cutomers to make deposits, withdrawals, and to get their balance at any time.

From the set of responses below select those that best describe an interface for this situation.

              (I)                                                                                           (II)
              
public interface Banking                                                           public interface Banking 
{                                                                                                   {
          double CHECKING_RATE = 25.0;                                         double CHECKING_RATE = 25.0;
          final double SAVING_RATE   = 0.03;                                    double SAVING_RATE   = 0.03;
               
          void deposit(double amount);                                                void deposit(double amount);
          double withdraw(double amount);                                        double withdraw(double amount);
          double getBalance();                                                               static double money = getBalance();
}                                                                                                  }

                  (III)                                                                                      (IV)
public interface Bankikng                                                      public interface Banking 
{                                                                                                 {
         static double CHECKING_RATE = 25.0;                                 double CHECKING_RATE = 25.0;
         double SAVING_RATE   = 0.03;                                               double SAVING_RATE   = 0.03;
               
         void deposit(double amount);                                                  void deposit(double amount);
         abstract double withdraw(double amount);                           double withdraw(double amount);
         double getBalance();                                                                  static double getBalance(){ return amount};
}                                                           }

 

=

Question1Not completeMarked out of 1.00Flag questionQuestion textA bank maintains the accounts for its customers. The bank offers customers two type of accounts - achecking account and a savings account. The checking account charges ustomers a fixed service charge of$25.00 per month. The savings account yields a fixed interest rate of 3% per year on the monthly balance.The bank allows cutomers to make deposits, withdrawals, and to get their balance at any time.From the set of responses below select those that best describe an interface for this situation.(I) (II)public interface Banking public interface Banking{ {double CHECKING_RATE = 25.0; double CHECKING_RATE = 25.0;final double SAVING_RATE = 0.03; double SAVING_RATE = 0.03;void deposit(double amount); void deposit(double amount);double withdraw(double amount); double withdraw(double amount);double getBalance(); static double money = getBalance();} }(III) (IV)public interface Bankikng public interface Banking{ {static double CHECKING_RATE = 25.0; double CHECKING_RATE = 25.0;double SAVING_RATE = 0.03; double SAVING_RATE = 0.03;void deposit(double amount); void deposit(double amount);abstract double withdraw(double amount); double withdraw(double amount);double getBalance(); static double getBalance(){ returnamount};}}(V)public interface Bankikng{static double CHECKING_RATE = 25.0;static final double SAVING_RATE = 0.03;publicabstract void deposit(double amount);abstract double withdraw(double amount);double getBalance();}SELECT ALL POSSIBLE RESPONSESSelect one or more:a. IIIb. IVc. IId. I

Attachments:

Answers

(15)
Status NEW Posted 18 May 2017 07:05 AM My Price 9.00

-----------

Attachments

file 1495091573-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)