aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Doubt on Threading Qs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Doubt on Threading Qs" Watch "Doubt on Threading Qs" New topic
Author

Doubt on Threading Qs

Rohan Kayan
Ranch Hand

Joined: Sep 17, 2004
Posts: 123
Following is the question from http://www.javacertifications.net



options
A)good
B)good idea
C)good idea good idea
D)good 0 good 0 1

Correct answer is : A




My doubt is that , as the time/sequence of execution of threads are dependent of the actual JVM and platform , the ans for above question could be any of these five

1. good
2. good 0
3. good 0 1
4. good 0 1 2
5. good 0 1 2 3


Am I correct in my interpretation ??

SCWCD 1.4, SCJP 1.4
Minhaj Mehmood
Ranch Hand

Joined: Jan 22, 2007
Posts: 400

Yes, it could be any one of the
1. good
2. good 0
3. good 0 1
4. good 0 1 2
5. good 0 1 2 3
as you mentioned...

I think the A is correct because " A)good" is the only possible correct choice in all options!!


SCJP6 96% | SCWCD5 81% | SCDJWS5 79%
Neha Daga
Ranch Hand

Joined: Oct 30, 2009
Posts: 504
this question has been discussed here


SCJP 1.6 96%
Jim Hoglund
Ranch Hand

Joined: Jan 09, 2008
Posts: 525
Ooops . . .

... Jim ...


BEE MBA PMP SCJP-6
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt on Threading Qs