Java Inheritance

Java Inheritance

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Pre-Test

Pre-Test

11th - 12th Grade

5 Qs

Introduction to Java

Introduction to Java

8th - 12th Grade

10 Qs

Programming Terminology

Programming Terminology

12th Grade

10 Qs

Quiz Inheritance

Quiz Inheritance

11th Grade

10 Qs

OOP2 Understanding Inheritance in OOP

OOP2 Understanding Inheritance in OOP

11th Grade

10 Qs

Object Oriented Programming

Object Oriented Programming

11th - 12th Grade

8 Qs

A Level Object Orientated Quiz

A Level Object Orientated Quiz

10th Grade

10 Qs

Chapter 1. Introduction to OOP Concepts

Chapter 1. Introduction to OOP Concepts

9th - 10th Grade

10 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 {}