C# Interfaces

C# Interfaces

Professional Development

16 Qs

quiz-placeholder

Similar activities

Glovo Challenge

Glovo Challenge

Professional Development

20 Qs

Kotlin Quiz 4

Kotlin Quiz 4

Professional Development

12 Qs

CCNAv2 Post-Assessment

CCNAv2 Post-Assessment

Professional Development

15 Qs

Java Quiz on Module 1 & 2

Java Quiz on Module 1 & 2

Professional Development

21 Qs

Structural and Behavioral Design Patterns

Structural and Behavioral Design Patterns

Professional Development

20 Qs

BE1 - SOLID Basic Principles

BE1 - SOLID Basic Principles

Professional Development

15 Qs

Design Patterns Quiz 01

Design Patterns Quiz 01

Professional Development

21 Qs

JDBC_Objective_Exam_2

JDBC_Objective_Exam_2

Professional Development

15 Qs

C# Interfaces

C# Interfaces

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Halyna Melnyk

Used 6+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

interfaces in C # provide another way to achieve ...

runtime polymorphism

class inheritance

multiply class inheritance

encapsulation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

use ____ to declare a class interface

delegate keyword

interface keyword

this keyword

abstract keyword

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

interface is a completely _____ class which contains only _____ members

static; abstract

abstract; abstract

abstract; static

sealed; sealed

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

by using interfaces you can include behavior from multiple sources in a class

true

false

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

c# supports multiple inheritances of classes

true

false

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

when a class or struct implements an interface, the class or struct must provide an implementation for all of the members that the interface defines

true

false

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

if a base class implements an interface, any class that's derived from the base class inherits that implementation

true

false

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?