Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is a web api? Which protocol is used in a web api?

1035


What is the use of express session?

977


What are the advantages and limitations of query string?

1044


Difference between singleton and singlecall.

971


What is session in asp.net?

952


What are the Difference between asp.net and asp ?

1132


Why is global asax is used for?

1083


what are the events raised in asp.net page life cycle?in which stage view state can be loaded?

989


What is full form of asp.net?

1012


Explain the basic functionality of garbage collector?

979


What are the ways of preserving data on a Web Form in ASP.NET?

1086


Explain why it is useful to use mvc instead of webforms? : asp.net mvc

1035


Explain the components of web form in asp.net

1019


What is inproc mode in session?

936


How can u deifne the benefits and limitation of using Viewstate for state management?

1122