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
What is a web api? Which protocol is used in a web api?
What is the use of express session?
What are the advantages and limitations of query string?
Difference between singleton and singlecall.
What is session in asp.net?
What are the Difference between asp.net and asp ?
Why is global asax is used for?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
What is full form of asp.net?
Explain the basic functionality of garbage collector?
What are the ways of preserving data on a Web Form in ASP.NET?
Explain why it is useful to use mvc instead of webforms? : asp.net mvc
Explain the components of web form in asp.net
What is inproc mode in session?
How can u deifne the benefits and limitation of using Viewstate for state management?