Punit Jain wrote:Can anyone suggest me any good book for core java, which covers collections, thread, swing in depth.
except HeadFirst java.
No offense meant, but HF book doesn't cover any of those topics in depth. No doubt it is a good book to start with, but that's it.
If you are very serious about those topics, then you are never gonna find a
single book which discuss everything in depth.
I'm not much aware of swing, but I would recommend Java Threads by Oaks & Wong, and Java Generics and Collections by Neftalin & Wadler.
However, still, if you want a single book for all these, then I would (highly) recommend Core Java - Volume I & II (again, its a set of 2 books
) by Horstmann & Cornell.
I hope this helps.