Class Definitions: Part 2 Flashcards

(4 cards)

1
Q

Conditional Statement

A

A statement that takes one of two possible actions based upon the result of a test

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

Boolean expression

A

An expression with only two possible values: true and false. They are commonly found controlling the choice between the two paths through a conditional statement

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

Scope

A

A unit of code usually indicated by a pair of curly braces. Aka a block

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

local variable

A

A variable declared and used within a single method. Its scope and lifetime are limited to that of the method.

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