There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Tushar Goel wrote:I think 4 objects: L, L1, g1, String
kaiz jessani wrote:
i am asking if line 1 and line 2 were added individually !!
from where did string come???
Tushar Goel wrote:Kaiz we all the beginner trying to learn and help others... I may be wrong in some answer but that's why we are here..
kaiz jessani wrote:please answer
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Winston Gutkowski wrote:
kaiz jessani wrote:please answer
Please EaseUp (←click). I think I've already explained to you that we're all volunteers here; and urgency is your problem, not ours.
I suggest you read the HowToAskQuestionsOnJavaRanch page to learn how to use our forums, because badgering people is not likely to get you answers any quicker - in fact, more likely the reverse.
Winston
kaiz jessani wrote:Please answer about only line1??
kaiz jessani wrote:So for line 1-->only 1 object is eligible for garbage collection(g1)
So for line 2--> 2 objects are eligible for garbage collection (L1 and g1)
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |