
APCS
Authored by Margaret Ehrich
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An enhanced for loop can be used to replace each element of an int array with the value 0
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a code segment contains an attempt to perform integer division by zero, a run-time error will occur.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If an object reference is declared in a client class and initialized to null, a NullPointerException will be thrown.
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The scope of a local variable is the method in which the variable is declared.
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
private instance variables cna be used in all method of the class in which they are declared.
True
False
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A superclass inherits all the public methods of its subclasses
True
False
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A subclass must define its own constructors
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?