VB Dot Net Developer Question:

Explain the use of New Keyword?

Tweet Share WhatsApp

Answer:

New keyword is used with the constructor in which it can be used as a modifier or an operator. When it is used as a modifier, it hides inherited member from the base class member. When it is used as an operator, it creates an object to invoke constructors.
Dim frm As New Form1 frm.show()

Download VB .Net Developer PDF Read All 56 VB .Net Developer Questions
Previous QuestionNext Question
Explain about Garbage Collection?Explain Manifest?