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
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
3
Q
Scope
A
A unit of code usually indicated by a pair of curly braces. Aka a block
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.