This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams and have Darcy DeClute on-line!
See this thread for details.

Alam Ameghino

Ranch Hand
+ Follow
since Jun 01, 2011
Merit badge: grant badges
For More
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 Alam Ameghino

Hi Jeame, I have a doubt.

I am OCPJP6 certified.

if I take the Java 7 upgrade exam (1Z0-805), Will I be "OCAJP7 + OCPJP7", or only "OCPJP7"?
In other words, I will be a "full Java SE 7 Programmer"?

Thanks in advance.
Hi friends, I have a doubt...

A few days ago I took the exam OCPJP 6 (1Z0-851).

Now, I want to take the exam JAVA SE 7 PROGRAMMER.
I could see that you need take two exam for get it.

i ) OCAJP7 (1Z0-803 - Java SE 7 Programmer I)
ii) OCPJP7 (1Z0-804 - Java SE 7 Programmer II)

- I could see that OCAJP7 is so similar to OCPJP6. I saw that there is only a bit of diference between they, only a bit. I think that people that take OCPJP6 with succes need only a bit of effort to take OCAJP7 with succes . Is it correct?
- OCPJP7 is other world! ;-)

But, what about 1Z0-805 - Upgrade to Java SE 7 Programmer?

Is 1Z0-805 = 1Z0-803 + 1Z0-804?

What way must I take?

I should take i) and ii) ? or I should take only 1Z0-805?


How always say, sorry for me english!
I had luck and I could to pass the real exam. I want to say THANKS to all javaranchers. I could not pass the exam without this site. It is wonderfull. Here you can learn a lot of java world, but if you are smart, you can learnt a lot about mistake's others.

In the last month I learn a lot of java.
I needed to ask for people can help me, so I learnt a lot of english, of course, my english is so bad, but is more better than a month ago.

So I had two reason for to be happy!

I will go on bothering all you with my bad english trying to help others!

thanks, THANKS & T-H-A-N-K-S!
10 years ago
I taken the exam 1Z0-851 this week, there is not serialization and drag and drop questions. At least in my case, there was not this kind of questions.
I was wrong! But you help me understand! THANKS!


[1] "t" and "hl" are elegible for GC.
[2] only "t" is elegible for GC.

Henrry, you are The Messi of java world! ;-)

Hint: Can you access a static variable of a class, without having an instance of the class?

Yes, of course. It is not private.
But, in this excercise there is not such access.
So, "hl" elegible for GC?

Henry, a lot of thanks!

You tell us. Are you saying that both objects are not reachable?

Yes, for me "t" and "hl" are both elegible for GC

Same question. Is either object Reachable?

The same. Yes, for me "t" and "hl" are both elegible for GC. But I have doubt because "hl" is satic var! It is important?
Sorry, if I am not be clear.

I am asking for [1] and [2], How many object are elegible for GC alter line 16?

In [1], I supposed that 2, "t" and her "hl". Am I right?
In [2], I do not know!
Mmmm, I don't understand!
Please, Can you give me more details?
No, the static variable "hl" (Highlander) has anything to do with the concerned GC code or variable.

So, in [1] and [2] exercises, Are both elegible for GC?
I am doing some exercises, I did one that I don't know the answer. ;-)

Given this exercises:

Exercise One:

Exercise Two: (Equal than before but with "hl" as static var.)

The questions are:

[1] Is in exercise one the object "t" create in line 14 eligible for GC?
[2] Is in exercise two the object "t" create in line 14 eligible for GC?

My answers:

[1] For me YES. "hl" (Highlander) is an instance of the object that GC want to "destroy". This is an "Island of isolation", so, threre are two object two "destroy".
[2] I don't know! I need some help! ;-)

Please, correct me if I'm wrong. And help for the second question!

A lot of Thanks!
You are using a "shortcut operator". You do not need worried about the second argument of "||" operator if the first is true!!

For example,

true || (youDon'tNeebWorriedAboutThis) = true!!!

In you example, (5 < 7) = true, so, the second part is not executed.
Ahhhhhh, ok! I got it! A lot of thanks! You explication help me a lot! The "key" was the word "leading".

I have a serious problem with english! I looked for "trailing" word, but I could not find the correct meaning.

In a few days I am going to take the real exam, and I chose the enlgish language. I hope that I will not have this problem on the real exam!

In short,

==> "trailing": end of the string?
==> "leading" : start of the string?

I can not find this meaning with the sense that I like in the dictionary! Please, let me know if I am right about the sense that I give to this words.

Again, thanks!