Java Inheritance

Java Inheritance

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Symbol Puzzle Recap

Symbol Puzzle Recap

12th Grade

10 Qs

Web Development

Web Development

1st - 12th Grade

10 Qs

G12 Inheritance Quiz 2

G12 Inheritance Quiz 2

12th Grade - University

8 Qs

Week 6 Quiz

Week 6 Quiz

12th Grade

10 Qs

Java Inheritance Quiz

Java Inheritance Quiz

11th Grade

10 Qs

Python Revision Tour

Python Revision Tour

10th Grade

10 Qs

Inheritance in C++

Inheritance in C++

12th Grade

10 Qs

Grade 9(Intro)

Grade 9(Intro)

9th Grade

7 Qs

Java Inheritance

Java Inheritance

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Mildred Ferido

Used 13+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which OOP features where one class inherits all the properties and behaviors of another class?

Polymorphism

Inheritance

Abstraction

Encapsulation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. What do you call a class that inherits the properties of another class?

superclass

subsetclass

subclass

relativeclass

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Which of these keywords must be used to inherit a class?

super

this

void

extends

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. What type of inheritance where the subclass inherits superclass?

Single Inheritance  

Multi-level Inheritance  

Hierarchical Inheritance  

Multiple Inheritance

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Which of these syntaxes is the correct way of how the class Dog  inherit from the class Animal?

class Dog + class Animal {}

class Dog inherits class Animal {}

class Dog extends Animal {}

class Dog extends class Animal {}