
Practice for AP Java Flashcard #7
Flashcard
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the output of this program? Options: 0, 2, 5, 7
Back
7
2.
FLASHCARD QUESTION
Front
How many total members (including inherited members) does the Child class have?
Back
3
3.
FLASHCARD QUESTION
Front
Which of the following statements would cause an error?
Options: Parent a = new Parent();, Parent b = new Parent(5);, Parent c = new Parent(2,3);, Child d = new Child(2);
Back
Child d = new Child(2);
4.
FLASHCARD QUESTION
Front
The best replacement for ?? in keyPressed is
Back
bob.turn(-10);
5.
FLASHCARD QUESTION
Front
Which line of code is NOT using encapsulation correctly? Options: line 3, line 4, line 5, lines 3,4 and 5 all use encapsulation
Back
line 5
6.
FLASHCARD QUESTION
Front
What range best matches the expression (int)Math.random()*5 ?
Back
{0}
7.
FLASHCARD QUESTION
Front
What is the most important advantage of an ArrayList over an Array?
Back
ArrayLists can change in size, Arrays are fixed in size
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
April Fools Trivia
Flashcard
•
KG - University
13 questions
Trigonometry
Flashcard
•
10th Grade
15 questions
ACP Geometry Flashcard
Flashcard
•
10th Grade
15 questions
Landscape Features
Flashcard
•
10th Grade
16 questions
Capitulum X Lat. II Bestiae et Homines
Flashcard
•
10th Grade
10 questions
Pemrograman C# Tingkat Dasar
Flashcard
•
12th Grade
18 questions
"Born A Crime" by Trevor Noah
Flashcard
•
10th Grade - University
15 questions
Do you know your fallacies?
Flashcard
•
11th Grade
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Thanksgiving Trivia Challenge: Test Your Knowledge!
Interactive video
•
6th - 10th Grade
36 questions
Benchmark 2 Review (LEAP)
Quiz
•
11th Grade