program elements Flashcards

1
Q

object?

A

object = element in a program. each object has a state and set of behaviors (activities associated with the object).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

attribute?

A

objects Attribute: values that an object stores internally.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

method?

A

method: group of programming statements given a name. (represented and invoked by that name)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

class?

A

Class: blueprint of an object. defines the type of data held inside the object and methods to control behaviors of those objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

encapsulation?

A

Encapsulated: objects are encapsulated so that they are self governing: only changes that take place to the object is when the methods within the object occur. other objects cant effect another object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

inheritance?

A

inheritance: classes created from other classes: this is when the code is used (blueprint) from one class and copied into a new class where additional information is added or altered.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

polymorphism?

A

polymorphism: refer to multiple types of objects in consistent ways.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly