
Chapter 3 - Classes and Objects
Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Jeanine Bryde
Used 28+ times
FREE Resource
Enhance your content in a minute
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The purpose of a(n) _________ is to initialize the instance variables of a newly instantiated object.
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is a correct header line for main in a Java program?
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which access type will only let its class access it?
default
public
private
protected
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
These controls the behavior of a program.
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is an accessor method?
public void getName()
public void setName()
public String getName()
public String setName()
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is the correct way to write a no-args constructor of the class Car
public Car()
public void Car()
private Car()
public Car
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Methods that change an object’s state are called ____________.
Accessors
Mutators
Constructors
Behavior
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
30 questions
Битва умов
Quiz
•
7th - 11th Grade
30 questions
Web Sitesi Tekrar
Quiz
•
10th Grade
30 questions
ôn tập tin hoc 6 hoc ki 2
Quiz
•
12th Grade
40 questions
Pemrograman1
Quiz
•
10th Grade
30 questions
Segurança da informação
Quiz
•
12th Grade
31 questions
Adobe Premiere Pre-Test
Quiz
•
9th - 12th Grade
30 questions
AD S2 G360's Week10 -2021
Quiz
•
12th Grade
32 questions
Tabulky - 2
Quiz
•
8th - 9th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
