Why do we like to use classes?
CodeHS 4.12 Inheritance

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Aaron Pavao
Used 8+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
They let us save the state and behavior of objects
It's good to be classy
So we can encapsulate each program in a separate class
Because it's easier to learn
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a hierarchy?
Any group of objects ranked so that every one but the topmost is subordinate to a specified one above it
A level or rank in an organization
The bourgeoisie
The person or organization in charge
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword do we use to create a class based on another class?
extends
subclass
superclass
super
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When class Bar is based on class Foo, what do we call Bar?
subclass
superclass
extends
super
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When class Bar is based on class Foo, what do we call Foo?
subclass
superclass
extends
super
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is possible to create a class that isn't based on any other class.
true
false
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does it mean to override a superclass method?
A method in the subclass has the same signature as one in the superclass, and the subclass method is used
A method in the subclass has the same signature as one in the superclass, and the superclass method is used
An instance variable in the subclass has the same signature as one in the superclass, and the subclass instance variable is used
A instance variable in the subclass has the same signature as one in the superclass, and the superclass instance variable is used
Similar Resources on Quizizz
5 questions
Java Inheritance

Quiz
•
9th - 12th Grade
10 questions
Inheritance

Quiz
•
10th Grade
10 questions
Java Programming Challenge

Quiz
•
11th Grade
11 questions
CodeHS 5.3 Using Arrays

Quiz
•
9th - 12th Grade
11 questions
Object Oriented Programming

Quiz
•
12th Grade
10 questions
Java Inheritance

Quiz
•
11th Grade - University
10 questions
OOP2 Understanding Inheritance in OOP

Quiz
•
11th Grade
6 questions
Review of inheritance & polymorphism

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 Computers
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