Tuesday, 15 September 2015

Latest Top VB.Net Interview Questions and Answers

31. What is difference between metadata and manifest?
Metadata and manifest forms an integral part of an assembly( dll / exe ) in .net framework . out of which metadata is a mandatory component , which as the name suggests gives the details about various components of il code viz : methods , properties , fields , class etc.

32. What is the top .net class that everything is derived from?

33. How is method overriding different from method overloading?
When overriding a method, you change the behavior of the method for the derived class. overloading a method simply involves having another method with the same name within the class.

34. What is a formatter?
A formatter is an object that is responsible for encoding and serializing data into messages on one end, and deserializing and decoding messages into data on the other end.

35. What is an arraylist?
The arraylist object is a collection of items containing a single data type values.

36. What is static member?
The member defined as static which can be invoked directly from the class level, rather than from its instance.

37. What is overloading?
A process of creating different implementation of a method having a same name as base class, in a derived class. it implements inheritance.

38. When do you use virutal keyword?
When we need to override a method of the base class in the sub class, then we give the virtual keyword in the base class method. this makes the method in the base class to be overridable. methods, properties, and indexers can be virtual, which means that their implementation can be overridden in derived classes.

39. What is the purpose of xml namespaces?
An xml namespace is a collection of element types and attribute names. it consists of 2 parts
the first part is the uri used to identify the namespace
the second part is the element type or attribute name itself.

40. What is a constructor?
A constructor is invoked when you use the new operator, or use the various methods of reflection to create an instance of a class.

More Questions & Answers:-

No comments:

Post a Comment