Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Rahul Manikuntla

Greenhorn
+ Follow
since Apr 07, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rahul Manikuntla

So Vishal, what did you find out about the cause of the problem?
11 years ago
Yes, TreeSet is sorted collection and must have elements that implement compareTo() from interface Comparable. That is how TreeSet will know where to add() the new elements.
I am reading your Scjp notes and they are useful to my review.

Dennis Thomas wrote:Thanks Rahul


You are welcome. The trick was the static modifier for b1 in the Class Alpha. All Alpha objects will get same value for b1.
Oracle DB certification is also good.
Your explanation is very good to clear a lot of doubt.
Congrats and all the best to you
12 years ago
Congrats and all the best to you
12 years ago

Dennis Thomas wrote:How many Objects would be eligible for garbage collection when it reaches line 16 and which one and how?

The code sample comes from Chapter 3 Self-test, question #11. The Answer explained that three objects are still referred by reference variables a2, a2.b1 and a2b2. So only one object that was belonging to a1 would be eligible for garbage collection.
Congrats and all the best.
12 years ago
Congrats and all the best!!
12 years ago