VB.Net Interview Question and Answers

61. What is the difference between Compiler and Interpreter?
  Compiler :
A compiler is a program that translates program (called source code) written in some high level language into object code.
Interpreter:
An interpreter translates high-level instructions into an intermediate form, which it then executes. Interpreter analyzes and executes each line of source code in succession, without looking at the entire program; the advantage of interpreters is that they can execute a program immediately. .
 
Your Name Your Email-ID
Your Answer
62. What is a class?
  Class is concrete representation of an entity. It represents a group of objects, which hold similar attributes and behavior. It provides abstraction and encapsulations.
 
Your Name Your Email-ID
Your Answer
63. What is an Object?
  Object represents/resembles a Physical/real entity. An object is simply something you can give a name.
 
Your Name Your Email-ID
Your Answer
64 What is Abstraction?
  Hiding the complexity. It is a process of defining communication interface for the functionality and hiding rest of the things.
 
Your Name Your Email-ID
Your Answer
65. How do you convert a string into an integer in .NET?
  Int32.Parse(string)
Convert.ToInt32()
 
Your Name Your Email-ID
Your Answer