VB .Net Question:

Download Job Interview Questions and Answers PDF

Write the role of New keyword?

VB .Net Interview Question
VB .Net Interview Question

Answer:

New is used to initialize a new object. We sets a variable to any dattype with help of New keyword .The New keyword gives a value to the variable.We can also uses new keyword to initialize an object variable.
Example:- dim obj as new SqlDataAdapter.

Download VB .Net Interview Questions And Answers PDF

Previous QuestionNext Question
What is branching logic control in vb.net?What is difference between import System.Data.SqlClient,System.Data.Oledb?