stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Basic Java Programming ver1.2 Flashcards | StudBud
Explore
/
Basic Java Programming ver1.2
Basic Java Programming ver1.2
15 terms
·
StudBud Administration
Learn basic programming concepts in #Java
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
This code is a variable declaration: age = get.nextInt();
true
false
2
Java codes are case-sensitive.
false
true
3
This is a valid program statement: System.out.print("Hello");
true
false
4
Class is the basic element of a program.
true
false
5
Object is an instance of a class.
false
true
6
This is a C-style comment: /*Complete name and section. */
false
true
7
This is a method to accept numeric user input: next()
true
false
8
This is the code to create an instance of the Scanner: Scanner get = new Scanner(System.in);
false
true
9
/** is a delimeter
false
true
10
This code is a method call: get.next();
true
false
11
This is a comment: \\Complete name and section
true
false
12
The "Scanner" is a class.
false
true
13
This is the correct program code used to import the Scanner: import java.util.scanner;
true
false
14
The syntax for class declaration is: <modifier> <return_type> <method_name>(argument_list){ }
false
true
15
"int" is a data type
true
false