java - field wont update
<p>balance field wont update? any help is appreciated.</p>

<pre><code>public class class
{
    private float balance;
    private float bob;


    public class(float amount, float bob)
    {
                    balance = amount;
                }
    birthdate = birthday;
    }


    public void AddBirthdayBonus(float todayDate)
    {
      if (todayDate == bob)
      {
     balance += 5;
     }
    }
</code></pre>
