On Mar 11, 4:01 pm, Anton Shaykin <[email protected]> wrote:
> Hi, there!
> As I think that the task is a little bit incorrect. And I'll tell you
> why. Of course you can pass an averageGrade as a parameter but the
> whole meaning of averageGrade is that it has to be computed in
> getAverage() method, given 3 grades. And it doesn't make sense if we
> add a new record passing averageGrade as a parameter, because it has
> to be computed! Otherwise getAverage is of no use. And as about its
> type, what is the problem? Just take a look at the return type of
> getAverage().
See my comment above.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to