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...


garbate collector(GC)?

Answers were Sorted based on User's Feedback



garbate collector(GC)?..

Answer / prabir kumar

1) it is a automatic memory management utility run by JVM.
2) the JVM cleaning the objects from the memory which are
no longer being referenced.
3) the object that is not instantiate or containl null is
also applicable for garbage collection.
3) explicitly running garbage collector is very expensive.
4) to run the garbage collect call the static method of
System class e.g. System.gc();

Is This Answer Correct ?    5 Yes 0 No

garbate collector(GC)?..

Answer / aditya mohata

it's an built it procedure in java which takes place as we
are finished wid our programs,so as to nullify the already
existing objects in the file.it's as an desturctor in c++.

Is This Answer Correct ?    3 Yes 0 No

garbate collector(GC)?..

Answer / sub

Automatically deletes unused memory

Is This Answer Correct ?    1 Yes 0 No

garbate collector(GC)?..

Answer / reddy

JVM Automatically reclaims the memory used by an object.When
no variable is referred to that object.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

without using arthematic operation ,how can you write the logic for adding/substraction/multiplication?

7 Answers   Tanla Solutions, Wipro,


What is operator overloading. Is it is supported in java?

0 Answers  


Why can we not override static method?

0 Answers  


What do you mean by global variable?

0 Answers  


what is the difference between Java Command Line and C command Line?

2 Answers  


What is continuity of a function?

0 Answers  


What is byte [] in java?

0 Answers  


What is the use of using enum to declare a constant?

0 Answers   Fidelity,


Why is multithreading important?

0 Answers  


Is there any way to find whether software installed in the system is registered by just providing the .exe file? I have tried the following code but its just displaying the directory structure in the registry. Here the code : package com.msi.intaller; import java.util.Iterator; import ca.beq.util.win32.registry.RegistryKey; import ca.beq.util.win32.registry.RootKey; public class RegistryFinder { public static void main(String... args) throws Exception { RegistryKey.initialize(RegistryFinder.class.getResource("jRe gistryKey.dll").getFile()); RegistryKey key = new RegistryKey(RootKey.HKLM, "Software\\ODBC"); for (Iterator<RegistryKey> subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }

0 Answers   Google,


how to compile jsp?

4 Answers   Logica CMG,


How many bits are allocated to represent character of character sets - Unicode, ASCII, UTF-16, UTF-8?

1 Answers  


Categories