This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I've been a software developer for 30 years (but not Java) and I was recently laid-off (again).
I just finished a Java class at a local community college and now I'm hoping to get through the SCJP exam so I have something substaintial to put on my resume.
I'm trying to plod my way through Kathy and Bert's book.
I tried to post earlier but something went wrong with my post. Please always use the "code" button when posting code. Since you are new, I have edited your post and you can see how much better it looks.
I think that code will compile, but not run; you will suffer an Exception passing a double to a %d tag. Ty changing the type of x to int.
I have been doing serious Java development for three years now. I 'm fortunate to live in an area where I'm a big fish in a small pond, so when I applied for my current position 3 years ago I think my employer looked at my past experience an gave me a chance.
As you probably know, learning anything new involves some
There is plenty of aspirin at the ranch, it's helped me with a lot of my problems.
Good luck with the exam.
Joined: Oct 13, 2005
Thank you for reminding me; I was mistaken about %e which will print 9.99999e6 or similar.
Sorry for that mistake.
And always use %n, not \n in printf and similar methods.
Welcome to the Ranch!!
As for the SCJP,
study K&B book.
practice mock exam using Devaka Cooray's examlab www.examlab.lk
check out old posts, there have been some really good threads in the past.
Keep visiting this site. it's a great site.