Question
Is it correct to say that due to garbage collection feature in Java, a java program never goes out of memory?

Answers

Even though automatic garbage collection is provided by Java, it doesn’t ensure that a Java program will not go out of memory as there is a possibility that creation of Java objects is being done at a faster pace compared to garbage collection resulting in filling of all the available memory resources.
So, garbage collection helps in reducing the chances of a program going out of memory but it doesn’t ensure that.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q Whether the services of other Air lines can be availed during TA/DA
  • Q What is a material type?
  • Q What is the cluster log file for vcs cluster?
  • Q What is configurable products?
  • Q A hydro power project on Lake Loktak is situated in which state-
  • Q Which sportswear company was founded as 'Blue Ribbon Sports' by Bill Bowerman and Philip Knight in 1964?
  • Q Explain predictable 'Adverse Drug Reactions'
  • Q Tell me about the last time you oversaw the work of someone else. How did you effectively motivate, develop, and direct the worker(s)?
  • Q Hippoglossus-hippoglossus is which common sea fish
  • Q Pneumatic rubber tire invented by
  • Q What Dutch Brewery arranged an 'ambush marketing' appearance of 36 orange-clad dancing women in the Denmark v Netherlands 2010 World Cup game audience, attracting complaints from FIFA, and massive publicity?