C#.NET Multiple choices


Total available count: 28
Subject - Microsoft Technologies
Subsubject - C#.NET

Which of the following keyword is quite opposite to sealed?


 

 

 

 



A


Solution:-

Abstract keyword is quite opposite to sealed keyword.                                            

Sealed class

Abstract class

1. Sealed class cannot be inherited by a normal class

1. Abstract class must be inherited by a class

2. Instance must be used for the Sealed class for accessing its public methods

2. Instance cannot be created for Abstract class and it should be inherited for accessing its abstract methods




Next 5 multiple choice(s)

1

Which of the following notation is incorrect?

2

What is the difference between long and double?

3

Which of the following is not a built-in reference type?

4

What is the difference between uint and int?

5

What is the type of long keyword in C#?

Comments