Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    1,514

    Re: Cannot find symbol errors

    "Null" is only valid for object. double is not an object, it is a primitive. The "default" value for a double is 0. I suppose if you really really wanted to return null, you could turn the return...
  2. Replies
    9
    Views
    1,514

    Re: Cannot find symbol errors

    SavingsAccount probably shouldn't be abstract. You cannot initialize abstract classes. If anything, Account should be abstract and should contain an abstract add_monthly_interest() method. But, that...
  3. Replies
    9
    Views
    1,514

    Re: Cannot find symbol errors

    While not knowing the exact lines you are having errors, I can tell you that the Account class doesn't have an add_monthly_interest method, so you cannot invoke that method on an Account object. You...
Results 1 to 3 of 3