Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!

Igor Fortunato

+ Follow
since May 03, 2006
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Igor Fortunato

Hi Charles,
I passed in SCJP two months ago, and I have one doubt: The SCWCD topics are more theorical than SCJP?
Hi Sas Jacobs,

What is the mainly focus of this book? XML or the technologies AJAX and DOM?

That's because the "class A" has a constuctor which throws an exception, so when some class extends this class, in this case the "class Test9", you have to deal with this exception in the constructor of the class which extends, so that when you call the Test9's constructor, it will call the super's constructor which throws an exception, that must be caught or thrown by the Test9's constructor.
And about the main method, when you throw an exception within a main method, there's nobody else who will be able to catch the exception, so the exception will not be caught.
Hi everyone,
if I change the line 3 with this line: String s2 = "hello"+"world";
the answer of this question below would be de same, or not? I think it would be changed, because now I deal with a String in a String Pool, so it will never be eligible to be collected.

1. String s = "abcd";
2. Integer x = new Integer(3);
3. String s2 = s+4;
4. s2=null;
5. s=null;

Following the execution of which line above,
is the object referenced by s2 available for
garbage collection?
Hi ranchers,
Can anyone tell me, if this affirmative is true?
"An object in String pool, is never eligible for garbage collection."
Hi Mohana,

I would like to have one of these, could you send me the scjp's ppt? My e-mail is

Thanks !!!
Hello ranchers, can anyone tell me why this following code prints out this output->Infinity, -Infinity, 4.4E99?

Float f1 = new Float("4.4e99f");
Float f2 = new Float("-4.4e99f");
Double d1 = new Double("4.4e99");

[ May 09, 2006: Message edited by: Igor Fortunato ]
Thanks for help, Shaliey.
When we create any String, that String goes to the String pool, and when another String, with the same value, is created, this new String points to the old one(with the same value), right?
The following code prints "False", WHY? Can anyone help me?
1: Byte b1 = new Byte("127");
3: if(b1.toString() == b1.toString())
4: System.out.println("True");
5: else
6: System.out.println("False");