CS333 - Problem Solving and Object Oriented Programming in C++
[ Home | Schedule | Personal Progress | Search | Glossary | Help ]


Test Class Terminology

 

In the program shown on the right,
list which lines contain the following.
List all lines, separating multiple lines
by a comma (NO BLANKS PLEASE)
(e.g. 1,4,7)
If there are no lines, type "none"

  1. Data Members

  2. Function Members

  3. Constructors

  4. Modifiers

  5. Selectors

  6. Function definitions

  7. Function prototypes

  8. Class name

 

Choose one when done
 

 
 
 
Line 1 class Coordinate {
Line 2     public:
Line 3      Coordinate();
Line 4       Coordinate(int xValue, int yValue, int displayValue);
Line 5       Coordinate(int xValue, int yValue);
Line 6       void setX(int xValue);
Line 7       void setY(int yValue);
Line 8       void setDisplay(int dValue);
Line 9       int getX();
Line 10       int getY();
Line 11       int getDisplay();
Line 12    private:
Line 13       int x;
Line 14       int y;
Line 15      int display;
Line 16 }



Copyright chris wild 1999.
For problems or questions regarding this website contact [Chris Wild (e-mail:cs333@cs.odu.edu].
Last updated: October 11, 1999.