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 401 redirect?
What is viewstate information stored?
What are the advantages of using sql stored procedures instead of adhoc sql queries in an asp.net web application?
Explain method to handle error using HttpError in Web API?
Difference between singleton and singlecall.
How to fetch a data from one table to another table in asp.net ?
How does a web application session work?
Explain the difference between asp & asp.net.
What is the good practice to implement validations in aspx page?
What is ispostback method in asp.net? Why do we use that?
What is asp short for?
How do you declare static variable? What is its lifetime?
Which class is used to send an email message from an ASP.NET Web page?
What are the different types of cookies in asp.net?
What is Bundling and Minification in MVC?