C# Review

C# Review

University

30 Qs

quiz-placeholder

Similar activities

GPC_IT Networking Mar 25, 2025

GPC_IT Networking Mar 25, 2025

University

25 Qs

Google Sheets Midterm Quiz - 21/10/2024

Google Sheets Midterm Quiz - 21/10/2024

University

25 Qs

NovaQuest'25 - Junior Category Final Round

NovaQuest'25 - Junior Category Final Round

9th Grade - University

25 Qs

KTPM-GROUP-2-3

KTPM-GROUP-2-3

University

25 Qs

Software Engineering Quiz

Software Engineering Quiz

University

26 Qs

Kuis Sistem Informasi Manajemen

Kuis Sistem Informasi Manajemen

University

25 Qs

FOS  QUIZ 7

FOS QUIZ 7

University

25 Qs

Changes to modern teams

Changes to modern teams

11th Grade - University

25 Qs

C# Review

C# Review

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Salima HASSAINE

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Is it possible to access a public non-static field through a static method of the class  ?

YES

NO

Answer explanation

If the field is not static, then a static method cannot directly access it (since instance members belong to an object). You would need to create an object inside the static method (or receive one as a parameter).

2.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Is it possible to override sealed methods ?

YES

NO

Answer explanation

  • In C#, sealed means "no further overriding allowed."

  • Usually, we use sealed with methods that are already override to prevent further derived classes from overriding them again.

3.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Is it possible to override any method from the parent class ?

YES

NO

Answer explanation

It is possible to override only the virtual, abstract and override methods

4.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Compiler creates automatically Default Constructor for all the classes.

YES

NO

Answer explanation

Compiler creates automatically Default Constructor only if the class does not have any constructor.

5.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Is it possible to implement multiple Interfaces ?

YES

NO

6.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Is it possible to use private access modifier with virtual methods ?

YES

NO

7.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Access Modifiers (public, private , protected) are allowed in Abstract Classes

YES

NO

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?