WHAT IS GARBAGE COLLECTOR AND HOW IT IS USED

Ads
 

WHAT IS GARBAGE COLLECTOR AND HOW IT IS USED

WHAT IS GARBAGE COLLECTOR AND HOW IT IS USED

View Answers

March 12, 2015 at 3:06 PM

The garbage collector collects garbage. When you create object they produce garbage, and the garbage collector gets rid of this garbage.

Ads









Related Tutorials/Questions & Answers:
WHAT IS GARBAGE COLLECTOR AND HOW IT IS USED
WHAT IS GARBAGE COLLECTOR AND HOW IT IS USED  WHAT IS GARBAGE COLLECTOR AND HOW IT IS USED   The garbage collector collects garbage. When you create object they produce garbage, and the garbage collector gets rid
Garbage Collection
; In the example we are describing how the garbage collector works... are creating three objects to give the garbage collector something to do, then we... in milliseconds into a long type variable then calling the garbage collector method
Advertisements
java - Java Beginners
java  how tha garbage collector know that the object will be deleted? on which algorithm the garbage collector works? what is the working principle of garbage collector? How manay types of garbage collectors r
garbage collection in java
will learn how to force a garbage collector to work by creating many objects.... First of all we have created an object for the garbage collector to perform some operation. Then we have used the System.gc(); method to force the garbage
Core Java Interview Question, Interview Question
? Answer: setBounds() Question: How many bits are used to represent Unicode... that are not subject to garbage collection Question: What restrictions... be invoked by the garbage collector while the object is still reachable. However
Core Java Interview Question, Interview Question
an object's finalize() method be invoked by the garbage collector? Answer: An object's finalize() method may only be invoked once by the garbage collector...;     Question: What invokes a thread's run() method
Core Java Interview Question, Interview Question
() method invoked by the garbage collector? Answer: The garbage collector invokes... unreachable. Question: How are this() and super() used with constructors? Answer...: Window, Frame, Dialog, File Dialog, Panel, Applet, or ScrollPane Question: What
Core Java Interview Question, Interview Question
objects. The garbage collector must somehow determine which objects are no longer... collector must run any finalizers of objects being freed. Question: How you can... and can't be forced. We can call garbage collector in Java by calling System.gc
About Constructor
About Constructor  How many objects are create when this code... of object of string which will create . All are those are eligible for garbage collector + not eligible both. Please Reply ASAP Thank you Ashvin Jain
what is web .config method
context is used but not ServletConfig what is use of the servletconfig... Servlets Questions 1)What is web.xml? 2)what is the filter? 3)How to we create... collector of the JVM. JSP Comments What are the ways to write comments
Core Java Interview Question, Interview Question
. In the process of freeing unreferenced objects, the garbage collector must run any finalizers of objects being freed Question : How you can force the garbage... be forced. We can call garbage collector in Java by calling System.gc
Core Java Interview Question, Interview Question
by reference Question: What is garbage collection Answer: The runtime...-priority thread that is referred to as garbage collector. When the gc finds memory...() guarantee garbage collection Answer: No Operators and assignment Question: What
ModuleNotFoundError: No module named 'Collector'
'Collector' How to remove the ModuleNotFoundError: No module named 'Collector' error? Thanks   Hi, In your python environment you...ModuleNotFoundError: No module named 'Collector'  Hi, My Python
ModuleNotFoundError: No module named 'the-collector'
'the-collector' How to remove the ModuleNotFoundError: No module named 'the-collector' error? Thanks   Hi, In your python...ModuleNotFoundError: No module named 'the-collector'  Hi, My
ModuleNotFoundError: No module named 'anatta_collector'
named 'anatta_collector' How to remove the ModuleNotFoundError: No module named 'anatta_collector' error? Thanks   Hi, In your...ModuleNotFoundError: No module named 'anatta_collector'  Hi, My
ModuleNotFoundError: No module named 'arxiv-collector'
named 'arxiv-collector' How to remove the ModuleNotFoundError: No module named 'arxiv-collector' error? Thanks   Hi, In your python...ModuleNotFoundError: No module named 'arxiv-collector'  Hi, My
ModuleNotFoundError: No module named 'arxiv-collector'
named 'arxiv-collector' How to remove the ModuleNotFoundError: No module named 'arxiv-collector' error? Thanks   Hi, In your python...ModuleNotFoundError: No module named 'arxiv-collector'  Hi, My
ModuleNotFoundError: No module named 'aws-lambda-log-collector'
: No module named 'aws-lambda-log-collector' How to remove the ModuleNotFoundError: No module named 'aws-lambda-log-collector' error? Thanks  ...ModuleNotFoundError: No module named 'aws-lambda-log-collector'  Hi
ModuleNotFoundError: No module named 'aws-lambda-log-collector'
: No module named 'aws-lambda-log-collector' How to remove the ModuleNotFoundError: No module named 'aws-lambda-log-collector' error? Thanks  ...ModuleNotFoundError: No module named 'aws-lambda-log-collector'  Hi
ModuleNotFoundError: No module named 'broadview-collector'
named 'broadview-collector' How to remove the ModuleNotFoundError: No module named 'broadview-collector' error? Thanks   Hi...ModuleNotFoundError: No module named 'broadview-collector'  Hi, My
ModuleNotFoundError: No module named 'broadview-collector'
named 'broadview-collector' How to remove the ModuleNotFoundError: No module named 'broadview-collector' error? Thanks   Hi...ModuleNotFoundError: No module named 'broadview-collector'  Hi, My
ModuleNotFoundError: No module named 'casa-collector-routeros'
: No module named 'casa-collector-routeros' How to remove the ModuleNotFoundError: No module named 'casa-collector-routeros' error? Thanks   ...ModuleNotFoundError: No module named 'casa-collector-routeros'  Hi
ModuleNotFoundError: No module named 'casa-collector-routeros'
: No module named 'casa-collector-routeros' How to remove the ModuleNotFoundError: No module named 'casa-collector-routeros' error? Thanks   ...ModuleNotFoundError: No module named 'casa-collector-routeros'  Hi
ModuleNotFoundError: No module named 'casa-collector-routeros'
: No module named 'casa-collector-routeros' How to remove the ModuleNotFoundError: No module named 'casa-collector-routeros' error? Thanks   ...ModuleNotFoundError: No module named 'casa-collector-routeros'  Hi
ModuleNotFoundError: No module named 'cinq-collector-dns'
named 'cinq-collector-dns' How to remove the ModuleNotFoundError: No module named 'cinq-collector-dns' error? Thanks   Hi, In your...ModuleNotFoundError: No module named 'cinq-collector-dns'  Hi, My
ModuleNotFoundError: No module named 'cinq-collector-aws'
named 'cinq-collector-aws' How to remove the ModuleNotFoundError: No module named 'cinq-collector-aws' error? Thanks   Hi, In your...ModuleNotFoundError: No module named 'cinq-collector-aws'  Hi, My
ModuleNotFoundError: No module named 'cinq-collector-dns'
named 'cinq-collector-dns' How to remove the ModuleNotFoundError: No module named 'cinq-collector-dns' error? Thanks   Hi, In your...ModuleNotFoundError: No module named 'cinq-collector-dns'  Hi, My
ModuleNotFoundError: No module named 'coinfo-collector'
named 'coinfo-collector' How to remove the ModuleNotFoundError: No module named 'coinfo-collector' error? Thanks   Hi, In your...ModuleNotFoundError: No module named 'coinfo-collector'  Hi, My
ModuleNotFoundError: No module named 'coininfo-collector'
named 'coininfo-collector' How to remove the ModuleNotFoundError: No module named 'coininfo-collector' error? Thanks   Hi, In your...ModuleNotFoundError: No module named 'coininfo-collector'  Hi, My
ModuleNotFoundError: No module named 'cpu-collector'
'cpu-collector' How to remove the ModuleNotFoundError: No module named 'cpu-collector' error? Thanks   Hi, In your python...ModuleNotFoundError: No module named 'cpu-collector'  Hi, My
ModuleNotFoundError: No module named 'cpu-collector'
'cpu-collector' How to remove the ModuleNotFoundError: No module named 'cpu-collector' error? Thanks   Hi, In your python...ModuleNotFoundError: No module named 'cpu-collector'  Hi, My

Ads