
Java 1.1 to 2.1

Quiz
•
Other
•
12th Grade
•
Hard
PRESTON COLE
Used 1+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
MyClass myObject = new MyClass();
MyClass myObject = MyClass();
myObject = MyClass.new;
new myObject = MyClass();
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Topic 1.1: Describe the use of main in a Java app
How can you pass command-line arguments when running a Java application?
Separate them by commas
Put them in square brackets
Separate them by spaces
Enclose them in double quotes
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Topic 1.2: Perform basic input and output using standard packages
Which method of the Scanner class reads a whole line from standard input?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Topic 1.2: Perform basic input and output using standard packages
Which import statement is necessary for using Scanner class?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Topic 1.3: Evaluate the scope of a variable
What will be the scope of a variable declared inside a for-loop?
Class scope
Instance scope
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Topic 1.3: Evaluate the scope of a variable
What happens if you try to access a local int variable before it's initialized?
A runtime error occurs
The variable will be automatically initialized to the default value for an int, which is 0.
A compilation error occurs
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Topic 1.4: Comment and document programs
Which symbol marks the beginning of a Javadoc comment?
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Tech Buzz R1

Quiz
•
12th Grade
12 questions
Unit 2 Terms 2.4-2.7

Quiz
•
12th Grade
20 questions
ETCOR Research Quiz

Quiz
•
11th Grade - University
15 questions
The Research Problem and Its Background

Quiz
•
12th Grade
20 questions
organisation of data

Quiz
•
11th Grade - Professi...
14 questions
Extended Essay Criteria Quiz

Quiz
•
12th Grade
20 questions
Review of Related Literature

Quiz
•
12th Grade
20 questions
Examen de JavaScript

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Other
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University