Java Inheritance

Java Inheritance

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Pewarisan Antar Interface

Pewarisan Antar Interface

11th Grade

10 Qs

Object Oriented Programming in Python

Object Oriented Programming in Python

12th Grade

10 Qs

Inheritance

Inheritance

12th Grade

7 Qs

Objects & Classes

Objects & Classes

11th - 12th Grade

10 Qs

Skill Building Workshop Quiz

Skill Building Workshop Quiz

9th - 12th Grade

10 Qs

Java Inheritance

Java Inheritance

11th Grade - University

10 Qs

Object Oriented Programming

Object Oriented Programming

11th Grade

9 Qs

Lesson #3 - Inheritance

Lesson #3 - Inheritance

12th Grade

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