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

raghava reddy yelamkonda

Greenhorn
+ Follow
since Oct 12, 2005
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 raghava reddy yelamkonda

Hi All

We should consider array also an object.
Inthat case first array object and its 2 elements(2 objects) in f() lost their refference after method returns. Other array object (which is stored in Foo[] array in main method) and its 2 elemnets(which are basically first array objects) in f() are their in main method.

So answer is 3.

Raghu