hts.StevenWood.com

Memo #2

Home ] Up ] Groups ] Memo #1 ] [ Memo #2 ] Memo #3 ] Memo #4 ] Memo #5 ] Memo #6 ][ Last Page ]

Short List

MC

Memo

Reference: HTS Bank 2    


The president was very pleased with your report and asked me to congratulate you on your start at HTSB. 

Today in our meeting we talked about what will be the main classes. After thinking things over we agree with your assessment. 

You indicated that the first steps in defining each class is to: 

  1. Name your class; (2 marks)
     
  2. Give the desired behaviours of the class (list what it should do - this should be done without Java code - describe it in English). This section acts as a summary of the object giving a description of what it is and what it can do;
    e.g. This class will keep track of.... and allow the bank to .... add ..., adjust ..., and find out ....
    (3 marks)
     
  3. Give at least five important instance variables (attributes) to keep track of. Make sure that you indicate the type of this item, e.g. int, String, etc. and a brief description.
    e.g. for the Dog class:
    int
    age  // age of dog in months
    (5 marks)
     
  4. Give the prototypes (access right, scope, return type, method name, parameters) for at least five important methods. Make sure that you include constructors, "get" methods, "set" methods.
    * Explain what this method does:
    e.g. // the constructor         or // the amount of interest, etc.
    * If a method requires parameters, make sure that you indicate why they are needed and their type.
    * DO NOT create the body section of the method, just the "header" as shown below.

    (15 marks)

Each class will be done separately.  

Make sure that you include comments for each method and each variable that you use. Clearly state the purpose of the method and variable in the comments. 

One could do this work in Java, but it is a better choice, at this stage, to use a word processor, or even better, a Google document.

Also (as a bonus) you said that you would develop one other idea from your short list. (hidden)

MAKE SURE YOU KEEP A COPY OF THIS MATERIAL FOR YOURSELF.

I expect this information to be in my hands by the date indicated on the outline [click to find due date]. 

 

CC: President of HTSB

 

 

Banque HTS and HTS Bank are used with permission

Free JavaScripts provided
by The JavaScript Source
Home ] Up ] Groups ] Memo #1 ] [ Memo #2 ] Memo #3 ] Memo #4 ] Memo #5 ] Memo #6 ][Last Page]
All material on this site is copyright © 1997- by Steven Wood or as credited. All right reserved. Use of this site indicates you agreement with the  terms of use.
Send comments or questions to about this page.
Every attempt has been made to credit work under copyright. If there are any claims that copyright has been missed please contact the .
+SDG+