Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
15 Cards in this Set
- Front
- Back
What forms the basis of all programing? |
Objects and classes |
|
Classes |
General Description objects are created from classes. The class describes the kind of object; the objects represent individual instantiations of the class |
|
Objects |
Specific instance Ex: color, make. instance when up refer them to a particular class Java objects model objects from a problem domain. |
|
int |
integer |
|
string |
anything in double " " |
|
Boolean |
true, false
|
|
Method |
signature communicate with objects by invoking (cite or appeal). objects usually do something if we invoke a method.
|
|
Parameters |
methods can have these to provide additional info for a task. Ex: Distance |
|
Signature |
The header of the method is called its signature. it provides info needed to invoke (cite or appeal) that method. |
|
Type |
Defines what kinds of values a parameter can take. Parameters have this. int, string, boolean |
|
Multiple Instances |
many similar objects can be created from a single class. |
|
State |
Objects have this. This is represented by storing values in fields. Set of values of all attributes (regard something as being caused by) defining an object. Defining object: x-position, y-position, color, diameter, etc. |
|
Method calling |
Objects can communicate by calling each others methods. Can be combining objects but not in all cases. Objects can create over objects. |
|
Source code |
Code of class determines the structure and behavior (the fields and methods) of each of the objects of that class. |
|
Result |
Methods may return info about an object via a return value. |