What is the use of New Keyword?

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()

All vb Questions

Ask your interview questions on vb

Write Your comment or Questions if you want the answers on vb from vb Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---