1.

Write The Role Of New Keyword?

Answer»

New is USED to INITIALIZE a new object. We SETS a variable to any datatype 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.

New is used to initialize a new object. We sets a variable to any datatype 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.



Discussion

No Comment Found