Java Quiz

Java Quiz

11th Grade

5 Qs

quiz-placeholder

Similar activities

Guglielmo Quiz09

Guglielmo Quiz09

10th - 12th Grade

6 Qs

Java Programming Quiz

Java Programming Quiz

11th Grade

10 Qs

C# Programming

C# Programming

9th - 12th Grade

6 Qs

Inheritance

Inheritance

11th Grade

5 Qs

AQA - Unit 7 - OOP

AQA - Unit 7 - OOP

11th - 12th Grade

10 Qs

Java Inheritance Quiz

Java Inheritance Quiz

11th Grade

10 Qs

object oriented programming

object oriented programming

11th Grade - University

10 Qs

OOP

OOP

9th - 12th Grade

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