Unit 3 - Objects Vocabulary Flashcards

1
Q

Class

A

An object constructor or “blueprint” for making objects.

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

Object

A

Objects are specific entitys (instances) of classes that store attributes/properties and functions/methods of a class.

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

Instance

A

A single occurrence of a class or object. One particular object of a class (which has different attributes and properties). Describes the individual objected created from a class.

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

Access Modifier (including public and private)

A

Access modifiers help restrict the scope of a class, constructor, variable, method or data member.

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

Instance Variable (Field)

A

A private variable that is specific to a certain object (adjectives).

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

Constructor Method

A

The constructor method is used to initialize objects.

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

UML Class Diagram (Unified Modeling Language)

A

A diagram that represents a system’s structure and relationships by showing its classes, methods and attributes.

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

Import Statement

A

The import statement in Java allows you to access classes, interfaces, and packages from external sources.

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

Parameter

A

A parameter is a variable that is passed inside a method’s heading (receives). Constructor methods has one parameter for each field.

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

Arguement

A

The values that will be sent to the parameters. Constructor methods receive the arguments (values) of the basketball player (name, team, age, height).

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

Set Method

A

Used to assign the value of a property in an object. There is one set method for each field.

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

Get Method

A

Used to get a value from a class/method. The method that returns the value from the fields.

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

Primitive Type

A

A variable type that can store exactly one value of its declared type at a time.

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

Reference Type

A

A variable type used to store the location of objects in the computer’s memory.

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