suppose we have two object;obj1 and obj2
can we assign obj2 to one1;
and if yes; then after assigning suppose we delete obj2
then obj1 will retain obj2 value or not.

Answer Posted / jitender

we can assign the refrence of the object to other object.
since both object have the same memory . if we change the 1
obj then refrence to memeory of 1 obj will get deleted but 2
obj still refers to the same memory location certantily it
will work.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which type of state management is provided by Query String in ASP.NET?

559


Explain the differences between managed and unmanaged code?

502


In which event of the page viewstate is available?

470


Define tracing.

630


Explain difference between dataset and datareader?

610






What is special types forms

541


Is it possible to apply themes to an asp.net application? If yes, then how?

581


How to display validation messages in one control?

552


What is the latest version of asp.net?

539


What is global.asax file used for?

563


What is the current version of asp.net?

501


How can you debug your.net application?

560


For which does this Codebehind="MyCode.aspx.cs" is relevent to ?

583


Where is asp.net session stored?

479


How would you get asp.net running in apache web servers?

546