What is the role of new keyword?



What is the role of new keyword?..

Answer / Meenu Sagar

"The 'new' keyword in VB.NET is used to create a new instance of an object or to allocate memory for a variable. It is also used for creating and initializing arrays."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB.NET Interview Questions

What is the DIfference between Friend and Protected Friend?

6 Answers   CTS, Sykes Enterprises, TCS,


What does assert() method do In VB.NET

1 Answers   MCN Solutions,


how to create views in sql with syntax and example

5 Answers  


How do you define a read only property in a class module?

1 Answers  


What is the class that allows an element to be accessed using unique key?

1 Answers  


i had attended to infosys interview on 17th april 2010...on .net..3+ experience .. to my knowledge i did well in technical and they asked me to wait for next process ..so i waited for 15 min ..later one person came and said give 7-10 days time for intimation of next process do they keep technical and hr on different day ...or i loose the interview ..am confused yaar what accuatly would be happend

2 Answers  


Explain the difference between namespace and assembly?

1 Answers  


What are the advantages of VB.NET?

1 Answers  


What is "Polymorphism" and what are Polymorphism in VB.Net?

2 Answers  


What is stack used for in vb. Net?

1 Answers  


What is DLL HELL in VB.NET

1 Answers   HCL,


What are the difference between structure and class?

1 Answers  


Categories