Originally posted by Pho Tek:
I want to implement a service that accepts subscription requests from many threads.
Since the state "subscribed" is a global condition; only one request should be entertain.
...
Originally posted by Pat Farrell:
1.6 update 6 is latest stable. But can I ask, why change? Java 6 brings nearly nothing over 1.5. I would think long and hard before migrating working code. New code, sure, I'd start with Java 6.
Lots of questions contain short code snippets as well.. so you have to be quite used to reading code quickly. 
Originally posted by Victoria Bernstein:
Hi folks,
Does anybody know why the passing score is only 61% comparing to 71% before? Is the exam much harder and if yes, then in which way?
Thanks a lot
Yeah Shubhangi, I'm brewing a "killer" potion here!
My company is in the B2B field.. so everyone is expected to be proficient at brewing this potion! 



Oh well... 


Originally posted by rajani peddi:
hi Ray Hsieh
Congratulations!!! thats a very good score. and also thanks for all the info about the exam.....
rajani
I'm very happy... just passed the SCJP2 with 94%


For instance... in C++, if a function doesn't have a "throw clause", it means it can throw *anything*... but that's not the case in Java! And.. no no no, you can't "flatten" a supposedly two dimensional array by "reinterpret_cast<>"-ing it in Java, heheheh 
), and that was it. I didn't have the patience to go through all the mock exams out there, and *personally*, I don't think it's necessary, as long as you get the concepts clear.
)
AND "The Java AWT: GridBagLayout" by Jan Newmarch, which, I think, explains GBL the best! (http://pandonia.canberra.edu.au)
Ray Hsieh 
I think she meant those *.java files, not *.class files.
Originally posted by asim wagan:
Hi! i think it in two senses it is a valid file when it is for the compiler it compiles it correctly. while it is not valid for the interpreter.So, explain it in which sense you like it.

Originally posted by Sahir Shah:
Hi,
what will this print
<pre>
for(int i = 0; i < 1; i++)
System.out.println(i);
and what will this print
for(int i = 0; i < 1; ++i)
System.out.println(i);
Try it out first beofre you post an answer.
Rgds
Sahir

