Unit 2 4
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Medium
Angel Ligon
Used 1+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an instance method?
An instance method is a piece of code called on a specific instance (an object) of the class.
An instance method is a piece of code that does not depend on any specific instances (objects), just on the general class.
An instance method adds functionality to a class by creating private fields.
An instance method adds functionality to the class by printing out a result.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly calls the method addFiveMinutes on an object of the Timer class called kitchenTimer?
kitchenTimer(addFiveMinutes);
Timer.addFiveMinutes();
kitchenTimer.addFiveMinutes();
kitchenTimer.addFiveMinutes;
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Suppose the class Timer has a method called startTime that prints out the starting time of the Timer.
Write the line of code that correctly uses this method to print out the start time of a Timer object called laundry?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Procedures that allow us to control and define the behavior of an object.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create an instance (object) called rect1 with formal values of 5 and 6.
Rectangle rect1 = new Retangle( 5,6 )
rect1 = new Retangle(5, 6);
rect1.new Retangle (5, 6);
6.
HOTSPOT QUESTION
1 min • 1 pt
Click on the method.
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Object rect1 has been created. Create a call to the method printArea.
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
Color Terminology Quiz
Quiz
•
9th - 12th Grade
10 questions
MIL WEEK 1-2
Quiz
•
11th - 12th Grade
10 questions
Communication
Quiz
•
9th - 12th Grade
10 questions
Studying and Test Taking
Quiz
•
9th - 12th Grade
10 questions
Causes of Crime
Quiz
•
10th - 12th Grade
10 questions
VRQ Hair Unit 206 Cutting
Quiz
•
12th Grade
10 questions
Pre-Assessment
Quiz
•
12th Grade
10 questions
Bank Reconciliation Statement
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems Practice
Quiz
•
9th - 12th Grade
18 questions
AP Bio Insta-Review Topic 6.1*: DNA & RNA Structure
Quiz
•
9th - 12th Grade
