Conditional Statements Flashcards
1
Q
What is the class library made out of?
A
Several clusters of related classes
2
Q
What does Java API stand for?
A
Application Programmer Interface
3
Q
What do you use to get a reader for characters?
A
InputStreamReader
4
Q
How does an IF statement function?
A
Reads the condition(s) and if it is true then executes the code. If they are false, then it skips the statement
5
Q
How does an ELSE IF statement function?
A
Allows the program to do one thing if a statement is true but another thing if it is false
6
Q
How does the ELSE statement function?
A
If the first statement is not true, it is disregarded and any other possibility is within the else command