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

How will calculated the net amount in tax add like total net amount = LT+ST+CESS+amount 2500 = 10%+12.5%+5.15%+amount? kindly please explain what type of formula we apply in software? Tushar

0 Answers  


What is the difference between the add() and insert() methods of a listbox control?

0 Answers  


Is form action required?

0 Answers  


Which template creates a .net compact framework 2.0 forms application for pocket pc 2003 and later?

0 Answers  


What are the components of gui for windows?

0 Answers  


Is typeform free?

0 Answers  


How many nuber of controls are there in form?

1 Answers   Morgan Stanley,


Explain how barcode create in the report?

0 Answers  


what is a property to resize a label control according to your caption?

1 Answers  


Explain how many number of events does the timer controls?

0 Answers  


what is the difference between Listindex and Tab index?

1 Answers  


List out controls which does not have events?

8 Answers   Silicon,


Categories