where we are using NEW keyword other than create instance

Pls Help me?

Gopal

Answers were Sorted based on User's Feedback



where we are using NEW keyword other than create instance Pls Help me? Gopal..

Answer / praveen

we use new keyword to hide the method of base class in
derived classes in method hiding.

Is This Answer Correct ?    9 Yes 0 No

where we are using NEW keyword other than create instance Pls Help me? Gopal..

Answer / nikhil

Its is d concept of SHADOWING where base class
functionality is hidden.

Is This Answer Correct ?    5 Yes 0 No

where we are using NEW keyword other than create instance Pls Help me? Gopal..

Answer / guest

NEW keyword is used to create object

Is This Answer Correct ?    2 Yes 0 No

where we are using NEW keyword other than create instance Pls Help me? Gopal..

Answer / only three

Hiding of base class method (non abstract method) can be done just by giving an implementation in the derived class. The "new" keyword is not necessary. You can add the "new" keyword to prevent a warning message during compilation.

Is This Answer Correct ?    1 Yes 0 No

where we are using NEW keyword other than create instance Pls Help me? Gopal..

Answer / honey

The keyword 'new' is mainly used to allocate memory for the
associated object.

though you can create an object without using new it is of
no use because no memory will be allocated when new keyword
is not used.

Is This Answer Correct ?    1 Yes 0 No

where we are using NEW keyword other than create instance Pls Help me? Gopal..

Answer / honey

the keyword 'new' is mainly used to allocate memory for the
associated object.

though you can create an object without using new it is of
no use because no memory will be allocated when new keyword
is not used.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Dot Net WindowsForms Interview Questions

What are windows based applications examples?

0 Answers  


How to create a set up in vb.net for desktop application please say steps with examples?

0 Answers  


We are facing problem with the compatibilty of IE 7 and IE 6.We are calling a showModal window that is working fine in IE6 but with IE7 it opens a new Window and Data is not getting poputaled.In some pages it Gives an error "The webpage you are viewing is trying to Close the window.Do you want to close this window".

1 Answers   Wipro,


Which dialog box allows users to switch to another area of the application?

0 Answers  


Which method of the messagebox class is used to display a message in the message box?

0 Answers  






where we are using NEW keyword other than create instance Pls Help me? Gopal

6 Answers  


What is a windows forms application?

0 Answers  


how barcode print on the win form

0 Answers   Wipro,


what are the diffrences between windows application and windows service?

2 Answers  


Is windows an application software?

0 Answers  


which Property is used to count no. of items in a combobox?

3 Answers  


Which property value of the helpnavigator property will display the index for a specified topic?

0 Answers  


Categories