Professional Documents
Culture Documents
C# - Test - Chap - 14
C# - Test - Chap - 14
IT
SEMESTER VI
Test Chap 14
Time 20 Min
Date____________
Students Name: ____________________________________________ Roll
No:
Total 20 Marks
a) Constant_____________
b) Array_______________
c) abstract method_______
d) Copy Constructor_____
e) Property.____________
2 Differences between classes and Interface methods
1) __________________________________________
___________________________________________
2) __________________________________________
___________________________________________
List 4 modifiers that can used with interface methods
___________________________________________
___________________________________________
11
Use of as keyword
___________________________________________
___________________________________________
State whether the statements are true or false
1) interface cannot have non static member. _____
2) interface is value type. ______
3) Interface can have a property with get set ____
4) Multilevel inheritance is not allowed in Interface___
5) Two interfaces cannot use same base interface ____
Use of : (colon) in class for interface
14
16
17
8
&
18
9
&
19
10
Mark
V for valid
I for invalid
Member of interface
12
13
15
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
19
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
20