GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 45 of 163    Print  
which method get called between a object is declared and it is collect by the garbage collector.

A)Delete
B)Dispose
c)Finalize
D)Close

  
Total Answers and Comments: 2 Last Update: April 14, 2006     Asked by: singh 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
April 14, 2006 04:56:26   #1  
koushikchoudhury Member Since: April 2006   Contribution: 1    

RE: which method get called between a object is declar...

finalize method.


 
Is this answer useful? Yes | No
April 14, 2006 06:57:18   #2  
sonali panda        

RE: which method get called between a object is declar...
Finalize method is called.when the process get starts it occupy some space in memory,where the objects resides.when no space is available and application has to create a new object,objects no longer used by appication is gabage collected,but if the obj is having a finilize function,it is called first and the object will not b garbaged(or it will not be destroyed),once the finilize function gets executed,the next time the garbage will run the object is garbaged and destroyed.
 
Is this answer useful? Yes | No

 Related Questions

By default the ASP.Net app runs in the context of a local user ASPNet on IIS version 5. On IIS version 6 on windows 2003 it is called Network service 
Latest Answer : ASPNET is the account name for the asp.net application running on IIS 5.0. ...

What are different properties provided by Object-oriented systems ? Can you explain different properties of Object Oriented Systems? Whats difference between Association , Aggregation and Inheritance relationships?
Read Answers (1) | Asked by : sanker

The .NET Framework has two main components: the common language runtime and the .NET Framework class library.You can think of the runtime as an agent that manages code at execution time, providing core 
Latest Answer : .Net framework is an environment provided on top of the OS which looks into Memory managementThread managementand providesLanguage independencePlatform independenceIt is defined by Microsoft as 'an environment for building, deploying and running ...
Read Answers (1) | Asked by : rajani

How to maintain ViewState of dynamically created user controls? For example, If I am creating few instances of a User control using LoadControl(...) method, then how do I make sure that the viewstate of all these controls is during postbacks?
Read Answers (6) | Asked by : vikramp

Which method get called between a object is declared and it is collect by the garbage collector.A)DeleteB)Disposec)FinalizeD)Close
Read Answers (2) | Asked by : singh

ViewState in ASP.NET IntroductionMicrosoft ASP.NET Web Forms pages are capable of maintaining their own state across multiple client round trips. When a property is set for a control, the ASP.NET saves 
Latest Answer : view state allows the state of objects to be stored in a hidden field on the page.it is transported to the client and back to the server, and is not stored on the server or any other external source.view state is used to retain the state of serverside ...
Read Answers (1) | Asked by : Shiv

If i place an attribute called "runat=server"how the execution goes to server? i.e will this application contact client browser?
Read Answers (1) | Asked by : R.Anil prasad

Latest Answer : garbage collector has 3 generations 0,1,2 the highest generation is 2. In .net the garbage collector is normally invocked implicitly but you can force the GC explicitly also.when first generations is fill i.e 0 GEN & your application wants to store ...

Latest Answer : Garbage Collector in .Net Framework is used for Automatic Memory Management i.e. it is collect all unused memory area and give to application. system.gc.collect() is a method for release the memory. But remember one think, it is only an request, i.e. ...
Read Answers (3) | Asked by : ravivarma

Latest Answer : It's ItemDataBound that occurs when we call a bind method.Please refer the following link  http: // msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.datagrid_events . aspxGood Luck!Anwar ...


 Sponsored Links

 
Related Articles

ODP.NET - OracleCommand Object

ODP NET More About the OracleCommand Object Till now we have seen OracleCommand working with OracleDataReader OracleCommand is not simply meant for OracleDataReader It has got a lot of functionality for itself Let us see few of the most commonly used features of OracleCommand in this section We will
 

Microsoft AJAX Library - Creating Object Members on the Fly

Creating Object Members on the Fly One major difference between OOP in C and ASP NET and OOP in JavaScript is that JavaScript allows creating object members on the fly" This is true for objects and classes that you create yourself and also for JavaScript s own objects and types as well He
 

Microsoft AJAX Library - Object-Oriented JavaScript

Object Oriented JavaScript Objects and classes are implemented differently in JavaScript than in languages such as C VB NET Java or C However when it comes to using them you ll feel on familiar ground You create objects using the new operator and you call their methods or access their fields using t
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

Object-Oriented Client-Server Internet

Object Oriented Client Server Internet OCSI Environments as IT Infrastructure Client Server Basics Object Oriented Client Server Internet OCSI environments provide the IT infrastructure for supporting OCSI applications For our purposes infrastructure refers to operating systems networks middleware
 

JavaScript String Object

JavaScript String Object In this JavaScript tutorial you will learn about String Object purpose of string object in JavaScript purpose of string object indexof method lastIndexOf method and substring method along with syntax and example mosgoogle center Purpose of String Object in JavaScript The mai
 

JavaScript Date Object

JavaScript Date Object In this JavaScript tutorial you will learn about date object and methods of date object explained along with syntax and example mosgoogle center JavaScript Date Object Usage of Date Object Date object of Java Script is used to work with date and times General syntax for defini
 

What is Common Data Modeling Method

Common Data Modeling is one of the core considerations when setting up a business data warehouse. Any serious company wanting to have a data warehouse will have to be first serious about data models. Building a data model takes time and it is not unusual for companies to spend two to five years just
 

How is the main() function declared?

The declaration of main can be done as int main() One more declaration that can be taken by main is command line arguments form int main(int argc, char *argv[]) or this can also be written as int main(argc, argv) int argc; char *argv[]; NOTE: It is not possible for one to declare the main
 

What happens when a variable is not declared in function definition?

Generally in C program the function definition and calling takes the form as given below: main() { int x,y,z; z=sample(x,y); printf(“%d”,z); } sample(x1,y1) int x1,y1; { int z1; z1= x1 - y1; return(z1); } Here what happens is the values x, y gets passed to x1,y1
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape