Command Line Interfaces Flashcards
1
Q
Input Stream (System.in)
A
Captures characters machine reads or a user types into the console.
2
Q
Output Stream (System.out)
A
Outputs characters to the console to be read by the user.
3
Q
Scanner nextLine()
A
Gets text from input stream up until a newline (the user presses Enter).
4
Q
Scanner nextInt()
A
Gets the next characters that can be converted to the numeric data type and leaves the rest.
5
Q
Parsing
A
Is the conversion of data between unlike data types. String → int
6
Q
Command Line Arguments
A
Arguments passed on the command line to an application are populated into String[] args array of the main() method.