This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Dear All, I cleared my SCJP today with 92%. I'd like to thank this forum and everyone involved for being there to answer my queries and helping me with my prep. Thanks Ajith, Maha for clearing my concepts and taking the time to reply ! I don't have any programming background, and java is my first lang. I started learning Java about 3 months back and began preparing for the exam about 1 1/2 month back. Got my concepts cleared from Complete Reference Java2 (Naughton, Schildt) and basically studied from RHE. I also referred to Exam Cram - primarily for their qns, tests, though i didn't find the material to be an add on to what i had already learned from the other two books. I regret not having the time to go thru JLS, i realised how imp it was only towards the fag end of my prep ... and then i decided to stick to stuff i was familiar reading. Don't try and refer to a whole lot of notes from here and there -2 books - 1 base + a Certification guide are the best bet along with JLS. About Mock Exams - they give u a good grounding but are hardly close to the real thing. SCJP is simple, straightforward and doesn't try to get u - just for the heck of it. A lot of mock exams basically do that - rather than testing u for basic sound fundamentals about the language. But its always good to take as many of them as they expose u to all ur weak areas and once u begin doing well on them - SCJP will be just fine. Don't get overwhelmed by the scores u get in ur mocks... just use it as a tool for ur prep. Javaranch is a fantastic oppurtunity for all SCJP aspirants, its very user friendly and the spirit is great. I owe a great deal to this site to keep me motivated and working for the exam. I wish Javaranch the very best ! Qns I got : I/O - 4 , one on Sockets AWT - 5-6 Util - 2 Threads - 4 - one had Mediatracker's waitForId() as an option Exceptions - 2 Fill in the blank - 4 - quite simple Remaining were a mixed bag of Overloading/Overriding, Flow control, Operators, Modifiers etc. Wish u all luck in your endeavour happiness always shilpa !
Hi eskay, As u mentioned the question about waitforID method on mediaTrackers......could u pl.make it clear for me whether is ther any such thing existing??? And one more question:can u stop a thread from executing by throwing InterruptedException. geetha.
Joined: Nov 22, 2008
How did you study? example: 20% typing code 40% taking notes 40% reading/memorizing
Joined: Jul 22, 2000
Dear Geetha and Cyberoptic, Geetha all u need to know about MediaTracker and waitForId() is that a thread can stop executing when waitForId() is called on it - Its basically an eg of blocking for I/O operations. Interrupted exception does not generally stop execution of a thread. There are quite a few posts on this site where u can get information on both, use the search facility with the keywords -MediaTracker or Interrupted Exception. There is one post in which maha anna has very clearly explained the Interrupt method, do read that ! Cyberoptic, I studied in the foll manner: Started with complete reference, and read it very thoroughly, practised all the code in the book and experimented alongside. Then i started with RHE and gave it a thorough reading, along with experimenting with code about most of the main points in the book. Also i was referring to the posts here and practising code on many egs raised here. I had a big time constraint, so i was putting in as many as 12-14 hours a day in the last 1 1/2 month. I read RHE again twice, but by this time - i was more of reading than coding. fact is u basically learn java by coding , but if u have a time constraint u need to really really be thorough with the concepts, as u can forget them pretty soon, if u haven't coded enough. I would suggest u use a combination of both. But if don't have the time to code - DO read VERY THOROUGHLY. And yes do make ur notes on concepts u get wrong in mock tests. I maintained one journal for all wrong answers/ tough answers in the mocks, and one for concepts i would not remember correctly inspite of having read them. Ur notes need to be about points not mentioned in the books but u discovered them while coding - the nitty gritties - we take for granted. should u need to know more u r welcome to write to me at email@example.com wish u 2 luck in ur prep ! shilpa