for basic understanding of core java why don't you refer some good book . those books contain good short programs for concept building. some of the good books are core java vol 1 and core java vol 2, thinking in java, the complete refernce, java how to program by deitel and deitel
Aneek Banerjee wrote:Hi Can any one suggest some small but good programs in core java that can help me to clear the basic.
Thanks in advance.......
Head First Java by Kathy Sierra and Bert Bates! This book is the coolest most fun programming book I have ever read. There are numerous examples with real java code that cover most of the objectives and then some, such as the swing classes and servlets. Bert Bates, one of the authors, is also a moderator on this forum! woot.
In one of the first few chapters there is source code to create a hilarious program that generates business jargon at random everytime the program is run using arrays of Strings and the random() method from the Math class!
There is also source code for a networked drum machine that you can chat with your friends on and share beats! My friends and I tested this out it works. lol
I would recommend this if you want more than a cold text-book with just the facts. I also recommend SCJP Study Guide by Sierra and Bates. This one is more in-depth but still more fun to read than a text-book.