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.

Ragini Kelkar

Greenhorn
+ Follow
since Oct 19, 2000
Merit badge: grant badges
For More
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 Ragini Kelkar

I am not working.I have access to a PC and internet .Is it possible for me to go for SCJD because i was told that you are required to test the assignment on different platforms.
How would i do the testing ?
Could someone please clarify...

Ragini
I appeared for the exam on Jan 16 and passed with 86%.The discussions on Javaranch really helped a lot.
I felt that the actual exam was difficult as compared to the mock exams.
Most of the questions were not straightforward .I used to finish the mock exams in 1 hour.But in the actual test i got only 25 minutes for review.
I got no true/false questions or fill in the blanks type.
One question was directly from Sun sample questions.
The no of questions I got on each topic is :
Threads : 4 (2 simple , 2 on synchronization )
I/O : 5
GC : 1
AWT : 4
Util : 1
I got less in Declarations and Access control and Language fundamentals which i thought i was good at as compared to Threads,IO and util.
So while you concentrate on the difficult topics please don't forget the fundamentals.
Hope this helps...
Ragini Kelkar

22 years ago
The test method is called with(1.0,2L,3) which is
(double,long,int)
Since there is no test method that exactly matches this it will select the one that will promote the parameters passed to the required values.
Hence it will call test(double,double,double)
Hence it will promote long and int to double.
It will print 3.
Here the exception is handled.So after executing finally block it will proceed normally and print 4.
So it will print
0
3
4
Thanks Simon Roberts.This question was bothering me for quite some time.
The String x and String y in this example are present in the String pool.Hence they will not be eligible for GC even if their reference is made null.
If they were created using the keyword "new" then they would be eligible for GC after their reference is made null.
Hence as per my understanding no. of objects eligible for gc in this example should be 0.
Please correct me if it is not so.
Shouldn't the answer be :
0 objects eligible for gc as all these are created in the String pool?
If they were created with new then they would be created on the heap and hence eligible for GC ?
The jls mentions strictfp as a keyword.
Some book also mentions widefp as a keyword.