Question: How can you prevent inheritance from a class in C#.NET ?

Options

A : Declare the class as shadows .

B : Declare the class as overloads .

C : Declare the class as sealed .

D : Declare the class as suppress .

Click to view Correct Answer

Previous || Next

Inheritance - General Questions more questions

What will be the output of the C#.NET code snippet....

Which of the following should be used to implement a....

Which of the following is correct about the C#.NET snippet....

In an inheritance chain which of the following members of....

Which of the following are reuse mechanisms available in C#.NET?

Which of the following statements are correct about Inheritance in....

Assume class B is inherited from class A . Which....

Which of the following can be declared in an interface?

A class implements two interfaces each containing three methods. The....

Which of the following statements is correct about an interface....

Attributes - General Questions more Online Exam Quiz

.NET Framework - General Questions

Enumerations - General Questions

Exception Handling - General Questions

Functions and Subroutines - General Questions

Interfaces - General Questions

Namespaces - General Questions

Operators - General Questions

Polymorphism - General Questions

Properties - General Questions