Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Done with SCJP

 
Venkata Duriseti
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have passed the SCJP exam with 90% score. Thanks for all your discussions, suggestions and useful links. It took me 3 weeks to prepare for the exam. I followed Kathy & Bert and have written some of the mock exams. I find Marcus exam the closest...
Good luck and I am going to get on to the web components exam.
Thanks,
Ramana.
 
raman padma
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have two questions.
1) I have come across this question in Marcus's mock exam.
i = 0;
i = i++;
System.out.println(i); //prints 0
j = 0;
j = i++;
System.out.println(j); // prints 1
Why does Java behaves this way? I know the answer. But I want to know why?
2)I have been preparing for Programmer exam for quite some time. I am getting on an average of 60-93% marks when I try the mock exam the first time. Ofcourse when i try the second time i get 100 marks because I remember the questions!!!. I am not sure whether this is ok. Is it normal? When should we even attempt?
 
ramap prabhas
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats! Keep it up.
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that quesiton is really about difference between i++ and ++i
see http://www.jchq.net/mockexams/exam3.htm#Answer%20to%20Question%2054)
 
Bert Bates
author
Sheriff
Posts: 8905
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Venkata -
90% on the toughest exam out there! Excellent!
Bert
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic