Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Regarding SCJP

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sneha Kulkarni
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Sneha Kulkarni ,

Welcome to JavaRanch

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

Good luck for the preparations and exam
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.

https://coderanch.com/t/264699/java-programmer-SCJP/certification/Query-Book
 
no wonder he is so sad, he hasn't seen this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic