reset password
Author Message
rabbott
Posts: 1649
Posted 22:28 Oct 13, 2013 |

This week the videos and homework cover very important topics. If you understand it all, you'll be in good shape for the rest of the quarter. If you don't you will have trouble from now on.  

If you have any questions, please ask them here on the forum.

Last edited by rabbott at 23:44 Oct 13, 2013.
Anonymous
Posts: 166
Posted 22:33 Oct 13, 2013 |

What if we do know what they are talking about, but we don't know how or where to start?

rabbott
Posts: 1649
Posted 23:14 Oct 13, 2013 |

I'm not sure what you mean by that. One way to start is to copy the code discussed in the videos and then modify it to do what the assignments ask.

Last edited by rabbott at 23:44 Oct 13, 2013.
rabbott
Posts: 1649
Posted 23:39 Oct 13, 2013 |

More specifically, create a folder called lesson3 in the same place that lesson1 and lesson2 are located on your computer.

For Programming Exercise 3.3 open BlueJ and create a project called bankAccountProject inside lesson3. Then create a class called BankAccount in that project. Add methods for depositing and withdrawing money and retrieving the balance in the account. Then create another class called BankAccountTester. Have its main method create a BankAccount object and test it as the exercise asks.

Do the same thing for Exercises 3.9 and 3.11 and Project 3.4. First create a project for each exercise, e.g., carProject, letterProject, and studentProject. In each one create the requested class. For E 3.9 you want a Car class; for E 3.11 you want a Letter class; for P 3.4 you want a Student class. Complete the exercises for those classes.

Last edited by rabbott at 23:47 Oct 13, 2013.