C# Quiz Part-1
1. Static constructor is used to initialize ?
-
A.
B.
C.
D.
Static data members
2. The members which is declared as private are available only ?
-
A.
B.
C.
D.
With in the containing type only
3. The members which is declared as Internal are available ?
-
A.
B.
C.
D.
Any where within the containing assembly
4. Default access modifier of class member is ?
-
A.
B.
C.
D.
Private
5. Default constructor is classified into two types ?
-
A.
B.
C.
D.
Both
6. Copy Constructor is used to ?
-
A. Copy one array into another.
B. Copy o
C.
D.
Copy one object data into another object
7. Constants in c# are ?
-
A. Mutable
B.
C. Changes their values.
D.
Immutable
8. Read-only variable are required to initialize at its declaration ?
-
A. True
B.
C. Can't say
D.
True
9. In c# Array we can't insert value in the middle ?
-
A. True
B. False
C. Can't say
D.
True
10. ContainKey and ContainValue are two method of HashTable ?
-
A. True
B. False
C.
D.
True
No comments:
Post a Comment
In case of any query , please let me know, Thanks