VB.Net Interview Question and Answers

76. What are the difference between Structure and Class?
 
  • Structures are value type and Classes are reference type.
  • Structures can not have constructors or destructors. Classes can have both contractors and destructors.
  • Structures do not support Inheritance, while Classes support Inheritance
 
Your Name Your Email-ID
Your Answer
77. What is difference between Class And Interface?
  Class : is logical representation of object. It is collection of data and related sub procedures with defination.
Interface : is also a class containg methods which is not having any definations.Class does not support multiple inheritance. But interface can support.
 
Your Name Your Email-ID
Your Answer
78. What is the use of ErrorProvider Control?
  The ErrorProvider control is used to indicate invalid data on a data entry form.
 
Your Name Your Email-ID
Your Answer
79. How many languages .NET is supporting now?
  When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. 44 languages are supported.
 
Your Name Your Email-ID
Your Answer
80. How many .NET languages can a single .NET DLL contain?
  Many.
 
Your Name Your Email-ID
Your Answer