3) What Is Boxing?: A) Yes B) No C) Both
3) What Is Boxing?: A) Yes B) No C) Both
3) What Is Boxing?: A) Yes B) No C) Both
a) yes b) No c)both
2) What’s the top .NET class that everything is derived from?
3) What is boxing?
4) What is a delegate?
1. The runtime checks to see that only one version of an assembly is on the machine
at any one time.
2. .NET allows assemblies to specify the name AND the version of any assemblies
they need to run.
3. The compiler offers compile time checking for backward compatibility.
4. It doesn’t.
20) which of the following option about implementing polymorphism is NOT true
a)you can implement polymorphism by implementing an interface
b) you can implement polymorphism by encapsulation
c) you can implement polymorphism by using abstract classes
d) you can also achieve polymorphism by inheritance.
a. an abstract class defines properties common to the classes derived from it.
b. An abstract class can be declared as final.
c. Abstract class cannot be extended.
d. Classes declared using the abstract keyword can be instatiated.
Interface a
{
Void b;
}
Class c
{
Void a.b() {}
}
Which of the following statement generates the compilation error in preceding code ?
a) interface a
b) void b()
c) void a.b() {}
d) class c