Not a statement error with objects : <p>I am getting a "not a statement" error in my code and i have no idea why
here is the code </p>

<pre><code>          for (int i = 0; i &lt; Champ.length; i++) {
        for (int j = 0; j &lt; Champ[i].length; j++) {
            if (Champ[i][j].getLegume() != null) {
                Champ[i][j].getNbJoursMatLegume() - jour; //HERE IS THE ERROR ....
                System.out.print(Champ[i][j].getNbJoursMatLegume() + " ");
            }
        }
        System.out.println("");

    }
</code></pre>

<p>All my variables are initialized and work fine, but i dont know why i can't do that operation</p>
