Hi All,
I was going through some of the programs. The following two program's output caught me confused.
1)
The answer is:
0 0 3 0.
I could not understand why does it print 3 at the 2nd index.
2)
Answer:
It does not compile.
But if we replace Boolean by
string it complies. Why we cant sort a boolean array?
About quote the source:
I am sorry, I dont remember the exact source. I have been solving from miscellaneous sources on the internet and I put all my doubts in a
word file as and when I encounter them. Henceforth, I will take the responsibility of making a note of the source too. (Its unlikely to get the real questions though
)
MOCK TESTS:
I had previously also posted queries regarding mock tests. I got the following link as a reference
http://faq.javaranch.com/java/ScjpMockTests. Can someone tell me precisely which mock exams (that are free and available online) map with the objectives of
SCJP 5?
I have purchased Javabeat's 350 mock questions. Can someone tell me how much does it map with the SCJP 5 objectives?
I would appreciate if some one could thoroughly guide me as after reading K&B, which mock exams should be practiced before appearing for SCJP 5.0?
Thanks All for your time.
Regards
[ August 10, 2008: Message edited by: Badal Chowdhary ]