I'm confused with the exercise below:
(4.1) Exercise multiple construcors
...
5. (For your own exercise) Modify StudentRecord.java and
ConstructorExample.java as following. Build and run the project.
Create another Constructor in the StudentRecord.java in which average
is also passed as a parameter.
Modify the ConstructorExample.java so that StudentRecord annaRecord
object is created with the newly added Constructor.
====
I think average is not relevant as a parameter because it will be evaluated
by the method getAverage(). So passing any value to that parameter will be
no point. Am I missing something here?
--
You received this message because you are subscribed to the Google Groups
"JPassion.com: Java Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/jpassion_java.
For more options, visit https://groups.google.com/d/optout.