stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
First Steps in Java 2 Flashcards | StudBud
Explore
/
First Steps in Java 2
First Steps in Java 2
10 terms
·
StudBud Administration
·
21 plays
Learn basic programming concepts in #Java
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
This is the code to create an instance of the Scanner:
Scanner get = new Scanner(System.in);
True
False
2
This is a valid program statement: System.out.print("Hello");
False
True
3
Java programming keywords are case-sensitive.
False
True
4
This is a comment: \\Complete name and section
True
False
5
This is the correct import:
import java.util.scanner;
False
True
6
"int" is a data type
True
False
7
This is a Scanner method to accept numeric user input:
next()
False
True
8
The "Scanner" is a class.
False
True
9
This code is a variable declaration:
age = get.nextInt();
False
True
10
This is a C-style comment: /*Complete name and section. */
False
True