Java Quiz

Java Quiz

11th Grade

5 Qs

quiz-placeholder

Similar activities

Exploring Object Oriented Programming Concepts

Exploring Object Oriented Programming Concepts

11th Grade

10 Qs

Exam 2 MC

Exam 2 MC

10th - 12th Grade

10 Qs

CSS Rules Quiz-unit 4 CodeHS

CSS Rules Quiz-unit 4 CodeHS

7th Grade - University

7 Qs

CHAPTER 13

CHAPTER 13

11th Grade

10 Qs

OOP2 Understanding Inheritance in OOP

OOP2 Understanding Inheritance in OOP

11th Grade

10 Qs

PBO 2

PBO 2

11th Grade

10 Qs

Pemrograman Berorientasi Obyek

Pemrograman Berorientasi Obyek

11th Grade

6 Qs

What Do You Remember About Inheritance

What Do You Remember About Inheritance

9th - 12th Grade

7 Qs

Java Quiz

Java Quiz

Assessment

Quiz

Computers

11th Grade

Hard

Created by

SR CAPISTRANO

Used 3+ 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?

Inheritance

Polymorphism

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

abstract

extends

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. What type of inheritance where a class inherits the properties and behavior from another class?

Single Inheritance  

Multilevel Inheritance

Hybrid Inheritance

Hierarchical Inheritance

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Which of the following 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 {}