This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

M Kothawade

Greenhorn
+ Follow
since Dec 29, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by M Kothawade

I think - creating a Transaction class makes sense which would have all the variables (like cost per recipient etc.) as static and it will also have static methods which will have email object as input and cost as output. Email class can have a variable to store the total cost. email object will invoke the static method of Transaction just before sending the email.
I am thinking Transaction class as a utility here. In future, Transaction class might a subclass of an interface to use a strategy pattern.
Please correct if this design is not correct.
Kindly note that he mentioned 'iteration' and not 'random access' for linked list.
I feel iteration "might be" slower in linkedlist compared to arrayList but if it is slower it has to be slightly slower and not considerably slower.
Why
System.out.printf("%d", 12.3);
throws exception.

whereas
System.out.printf("%b", 12.3); doesn't throw any exception.
C:\study\scjp>javac -version
javac 1.6.0_07

The following code is supposed to give unchecked warning. But it doesn't.
Am I worong in my understanding?
uncommenting the code gives compiler warnings.

import java.util.*;
public class Generics{
public static void main(String []args){
ArrayList als = new ArrayList<String>();
//als.add("Something");

ArrayList alo = new ArrayList();
//alo.add("Something");

Collection<?> c = new ArrayList();
Object obj = null;
//c.add(obj);

List lg = new ArrayList<Generics>();
}
}
I bought K&B and read it. I bought Mughal but haven't read it. Since I am concentrating only on exam right now, I was planning to have another book which is also exam-centric.
About mock exams, I would be trying all the mock exams provided with K&B. I will also check out mock exams available with Mughal book.
About the JLS and API doc, I guess it would be overwhelming for me right now and also JLS and API would also be covering topics which fall outside the scope of exam.
Anyways, these were useful suggestions and I would have really tried out these if I had plenty of time available.
I ordered exam voucher last week and I got one with expiration date of 4/2/2009. So I am trying to put my time to best use.
Hi Bhushan,
Your post was insightful. I will surely try to get one more source other than K&B.

Let me know if you have come across this book -- http://www.javabeat.net/tips/165-scjp-60-certification-rehearse-it-try-it.html -- and how would you rate it.

By the way, I already have Khalid Mughal's book (for SCJP 1.4) but I want to be exam-centric right now.

Let me know if you have anything else to suggest for better preparation.
I came across this post a little late. I bought the voucher on 24th December with validity only upto 04/02/2009. I paid 7200 Rs. I got the voucher from AI Soft Technologies.

Can anybody tell me is it the same thing with other sun certifications as well? I mean SCWCD, SCBCD etc. Can we get exam vouchers of SCBCD, SCWCD at lower cost with lesser validity period?