Java Inheritance

Java Inheritance

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Introduction to Java

Introduction to Java

8th - 12th Grade

10 Qs

Object Oriented Programming

Object Oriented Programming

11th Grade

9 Qs

Quiz Inheritance

Quiz Inheritance

11th Grade

10 Qs

Pewarisan Antar Interface

Pewarisan Antar Interface

11th Grade

10 Qs

Review activity Fernandes & Do

Review activity Fernandes & Do

9th - 12th Grade

10 Qs

Java Quiz

Java Quiz

11th Grade

5 Qs

Pre-Test

Pre-Test

11th - 12th Grade

5 Qs

Inheritance Quiz

Inheritance Quiz

2nd Grade - University

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