SCJP
Visit my download page
~ Mansukh
SCJP
Visit my download page
SCJP
Visit my download page
Randall Twede wrote:i dislike gc() more and more. it just lets the program crash rather than reclaiming garbage. i know that usually there is a better way to write your code to avoid this, but i have no idea how to do it in this circumstance. in C++ we had to do it ourself(long time ago, can't remember how). can't we do that in java too? there might be a better way to do what i am trying to do, but i don't see it.
Henry Wong wrote:
The garbage collector will not throw an out-of-memory error, unless it runs a full GC and can't reclaim the memory needed.
SCJP
Visit my download page
SCJP
Visit my download page
SCJP
Visit my download page
Randall Twede wrote:what happens if the JVM finds two classes with the same name?
Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
SCJP
Visit my download page
Don't MAKE me come back there with this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
|