can we call the garbage collector to run explicicitly?

Answer Posted / xyz

we can call the garbage collection explicitly but performing a garbage collection is totally dependent on the JVM. So calling System.gc() does not necessarily performing the garbage collection.

--
XYZ

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is .net core faster than .net framework?

552


What is entity client data provider? : Entity framework

545


Mention two instances where routing is not implemented or required?

745


What is rxjava used for?

660


Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?

538






mention what is the key advantage of using entity framework or ef?

555


What is the difference between entity framework and mvc?

521


Explain covariance and contra-variance in .net framework 4.0. Give an example for each.

577


Mention the core components of .net framework?

572


What is the use of action filters in an mvc application?

608


Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?

548


Can you use Razor code in Javascript in ASP.Net MVC?

665


What are scaffold templates in mvc?

580


What are html helpers in asp.net mvc?

554


Is http stateful or stateless?

549