Polymorphism in C# Quiz

Polymorphism in C# Quiz

Assessment

Interactive Video

Computers

9th - 10th Grade

Hard

Created by

Jennifer Brown

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main topic of this tutorial series part?

Encapsulation

Polymorphism

Abstraction

Inheritance

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 'poly' in polymorphism mean?

Few

None

Many

Single

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In object-oriented programming, what does polymorphism allow?

A class to have multiple constructors

A class to take many forms

A class to have multiple destructors

A class to have multiple interfaces

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of polymorphism?

A class with multiple properties

A class with a method that can be overridden

A class inheriting from another class

A class with multiple methods

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to allow a method to be overridden in a derived class?

sealed

final

virtual

static

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which modifier is used to change the implementation of a method in a derived class?

sealed

new

override

abstract

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is required for a method to be overridden in a derived class?

The method must be private

The method must be marked as virtual or abstract

The method must be static

The method must be sealed

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?