reset password
Author Message
rreyes8
Posts: 33
Posted 18:14 Feb 04, 2020 |

Hey Keenan,

For the assignment, we are to create two objects within our main. One of the objects uses the default data, are we allowed to alter it by using our methods in our main.

Robert

kknaur
Posts: 540
Posted 18:24 Feb 04, 2020 |

The idea with the main/tester classes is that you are to create instances of your object classes and then demonstrate that your methods work.  If your methods alter the data fields (which they are allowed to do) then print out the new values to show that changes have been made.  You have freedom to implement your tester how you want, just as long as you show that all parts of your other classes work.