Subroutine and Method Essay

Submitted By mandak123
Words: 534
Pages: 3

Name__ APCS A (HW Ch4 – Vocabulary)

Please read pages 196-237. Complete the following vocabulary list. If you need an additional source, check out a free online dictionary of computing at http://foldoc.org/.

|1 |attributes |It is a named value or a relationship that|
| | |exists with some or all of instance. |
|2 |behavior |A class's behavior determines how an |
| | |instance of that class operates. |
|3 |instance data |It is the variables that are defined at |
| | |the class level rather than in the |
| | |methods. |
|4 |self-governance |It is when the program is able to run on |
| | |its own. |
|5 |encapsulation |It mean show much of you want to protect |
| | |your data such as doing private or public.|
|6 |client program (driver) |It is the code that gets commands and |
| | |dispatches them for execution |
|7 |visibility modifier |These modifiers designate who can see the |
| | |data and methods inside the object. |
|8 |service methods (public) |A "service method" is something explicitly|
| | |designed for use from outside of the |
| | |application. |
|9 |support methods (private) |A "support method" is just that, something|
| | |that's used as a utility |
|10 |method declaration |This declares the method by shown |
| | |visibility, return type, and name. |
|11 |return statement |A return statement is something that can |
| | |return your data you want, but it has to |
| | |match your return type. |
|12 |parameter list in method header |This list shows what are the inputs in |
| | |your method. |
|13 |formal parameters |Formal parameters are the inputs that |
| |