One good way to learn Java is to study working examples of source code. The following are some good sites that provide a large amount of Java source code.
- Collections of Java Source code: It contains a lot of links to similar sites.
- JavaBoutique: Besides providing huge amount of applets examples, it is also a good resource site for learning Java and other programming languages.
- Planet Source Code: A large public source code database in 11 languages (VB, Java/Javascript, C/C++, ASP, SQL, Perl, Delphi, PHP, Code Fusion, .Net and LISP).
- Servlet Examples: Servlets examples from various sources that are collected and implemented by Jeff Schmitt.
- Java Samples by Neal: It provides a number of sample Java classes that Neal has written. It also contains links to other places containing Java sample codes.
