Java Basics Flashcards

1
Q

Operators

A

special symbols that perform specific operations on , two or three operands and return a result

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

Types of operators

A
assignment
arithmetic
unary
equality
relational
conditional
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Expressions

A

construct made up of variables operators and method invocations which are constructed according to the syntax of the language that evaluates to a single line

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

Blocks

A

group of sero or more statements between balanced braces and can be used anywhere a single statement is allowed

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

if then else vs switch

A

if then else tests expressions based on a range of valeus and expression while switch tests expresssions based only on a single integer enumerated value or String object

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

Input

A

Any info needed by a program to complete execution

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

Output

A

any info that the program must convey to the user

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

Console input

A

any input entered into the console window

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