aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Regarding SCJP 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 "Regarding SCJP" Watch "Regarding SCJP" New topic
Author

Regarding SCJP

Sneha Kulkarni
Greenhorn

Joined: Aug 23, 2007
Posts: 10
Hi,

I am planning to Take SCJP1.5,so can please help me regarding this?
Which book i have to refer and how i have to prepare for the exam?

Thanks
Sneha
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1527
Originally posted by Sneha Kulkarni:
Hi,

I am planning to Take SCJP1.5,so can please help me regarding this?
Which book i have to refer and how i have to prepare for the exam?

Thanks
Sneha


Welcome to Javaranch, there is one and only book that almost everyone would recommend, it is Kathy Sierra and Bert Bate's "Sun Certified Programmer for java 5 study guide". If you have already done some java programming and are aware of little object oriented concepts, this book alone will do. Dont forget to check out FAQ link in the signature below. Good luck.


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Shankar Selvaraju
Greenhorn

Joined: Aug 14, 2007
Posts: 16
You have to buy "SCJP 1.5 exam guide by Kathy Sierra, Bert Bates". It is a very good book.

Lot of Mock exams are available in net. you can workout for as many as exams as possible.

eg. http://faq.javaranch.com/view?ScjpMockTests

All the Best.


If you don't ask, you don't get. <br /> --Mahatma Gandhi
Sheelpa Gupta
Ranch Hand

Joined: Aug 14, 2007
Posts: 72
Hello Sneha,
Like everybody, I will also suggest you to go for K&B book. It is an excellent book, if you have some experience in Java. I recently cleared SCJP. Read the book atleast twice. Solve all the questions that are given in self test. When you are confident enough, go for mock exams availble on net. And always feel free to ask any(relevent) question on Javaranch. You will definitely find answer here in Javaranch.


SCJP 5 <br />SCWCD <br />Next: ?
Sneha Kulkarni
Greenhorn

Joined: Aug 23, 2007
Posts: 10
Thanks! for suggesting me regarding the study material.

Please anybody explain me the fallowing increment operator example?

class Increment
{
public static void main(String []args)
{
int i=0;
i=i++;
i=i++;
i=i++;
i++;
System.out.println("i= " +i);
}
}
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1527
Hi Sneha!
You could have posted this question into another new thread, as this one goes under the subjectline "Regarding SCJP". May be you can explore more of Java Ranch policies here.

http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch

Coming back to your query, it is "pre-increment expression" as the name suggests... it says "use the value of the expression before the increment happens". So the expression

i++

says 'use the value of i before it is incremented'. That way,

i = i++;

gets evaluated to

"i = 0";

Remember this expression "i=0" has not been executed yet. It would remain as it is and get evaluated after the increment has happened.

Now the increment happens, i from 0 becomes 1(somewhere in memory);
and after that the expression is evaluated, i.e.

i=0;

so i becomes 0 again.

Try excuting the following code,



Check out this link as well,
http://radio.javaranch.com/corey/2004/04/20/1082478396000.html

Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Hello Sneha Kulkarni ,

Welcome to JavaRanch

Hope you got the answers for your query from fellow ranchers.

Good luck for the preparations and exam


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Nikhil Kulkarni
Greenhorn

Joined: Aug 27, 2007
Posts: 6
I have bought SCJP book by Khalid Moughal. Is it a good book? Or is Kathy's book is better than this book?
[ August 27, 2007: Message edited by: Nikhil Kulkarni ]
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1527
Originally posted by Nikhilpanta Kulkarnisaheb:
I have bought SCJP book by Khalid Moughal. Is it a good book? Or is Kathy's book is better than this book?



Hi Nikhil, welcome to javaranch,

Hope the following link helps.

http://www.coderanch.com/t/264699/java-programmer-SCJP/certification/Query-Book
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding SCJP