This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Reddy Yeluru

Greenhorn
+ Follow
since Aug 18, 2003
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 Reddy Yeluru

Thankx Bharat for your valuable and detailed suggestions. Yes I do feel that I should prefer SCWCD over SCJD, as I am working in I2EE environment and would like to learn more details in that area.
Thankx again.
Hi Ranchers,
I just finished SCJP exam and would like to pursue for the next examination. I am in dielama to pursue either for SCWCD or SCJD. Could anybody throw more light on the advantage of SCWCD over SCJD?
Thankx in advance.
Reddy
Hi Ranchers,
Just 30 mts back I cleared my SJPC 1.4 Exam with 96%. I would like to share my happiness with peer ranchers and also would like to thank them for their valuable explanations on various topics, without these it would be difficult for me to get clarifications on many of my doubts.
To clear the exam the book by Kathy and Bret[/] is great and just sufficient. Also I read Khalid's book and it is also good. But I suggest k&B book is just marvelous and sufficient to clear the exam. Thanks for the authors for their detailed insight in the exam requirements and also would like to appreciate them for the [b] language and examples used in this book.
A suggestion for fellow prospective exam takers: while working with any examples, debug the problem with any IDE with debug turned on. Just command line execution of working with examples would not help to get to understand the flow.
Thankx again for everybody.
Reddy
16 years ago
The statement says that the hashCode() method is required to return a positive int value. Is it always true?
Can any body throw more light on this?
Thankx in advance.
Reddy
Thank you Deep for your motivational remarks.
Hi,
Can anybody rate the Dan's Mock exam with the real exam? I read some where that, this mock exam is more difficult than the real exam. I am reading k&B book. I found more topics in Dan's Exam than those covered in K&B book. Can anybody throw more light on this topic?

Reddy Yeluru
Referring to the following code below, the out put is 5. I am showing the flow here with the numbers as I understood. When I debug this code using IntelliJ, I could not follow the flow. Can any body clarify me if am wrong of if I am missing any thing.

Thankx in advance,
Per the above code, at th end of line # 8, newName still refers "Jason", newestName refers "Fried" which was assigned at line # 4, and the only object that is eligible for GC is "Nick".
Thank you Marlene, This would help me in understanding this concept.
My question is on the word ALWAYS. If this method ALWAYS returns false for the second call, what is meaning for the additional text given in the API:
(unless the current thread were interrupted again, after the first call had cleared its interrupted status and before the second call had examined it).
Any working example would appeciate to explain the above wording.
Here is a question in one of the mock exams:
If you call the interruped() menthod of a thread object twice, the second call always return false.
But the API for public static boolean interrupted() says :
Tests whether the current thread has been interrupted. The interrupted status of the thread is cleared by this method. In other words, if this method were to be called twice in succession, the second call would return false

(unless the current thread were interrupted again, after the first call had cleared its interrupted status and before the second call had examined it).


Can anybody clarify please?
Per table 6.2 and the associated discussions of Kathy and Bret's book, the constuctor for creating Float object takes only float value or a String value. There is one more overloaded constructor that takes double value. Is it a typo or is there any idea in skipping this construcor.
Authors -- Please comment.
Hi Anupam,
Your are right. This is a pretty nice explation.
Reddy