Simple Java – Foreword

Simple Java

The creation of Program Creek is inspired by the saying that "Every developer should have a blog." I have used the blog as my notes to track my learning experience. Unexpectedly, many people have visited Program Creek since I wrote the first post many years ago. A large amount of traffic indicates a more critical fact other than that my writing skill is good (which is the opposite): Developers like to read simple learning materials and quick solutions. By analyzing the traffic data of blog posts, I learned which developers prefer ways of explaining things.

Many people believe in "no diagram, no talk." While visualization is a good way to understand and remember things, there are also other ways to enhance the learning experience. One is by comparing different but related concepts. For example, by comparing ArrayList with LinkedList, one can better understand them and use them properly. Another way is to look at the frequently asked questions. For example, by reading "Top 10 methods for Java arrays", one can quickly remember some useful methods and use the majority's methods.

There are numerous blogs, books, and tutorials available to learn Java. A lot of them receive massive traffic from developers with a wide variety of interests. Program Creek is just one of them. This collection might be useful for two kinds of developers: first, the regular visitors of Program Creek; second, developers who want to read something in a more readable format. Repetition is key to learning any programming languages. Hopefully, this contributes to another non-boring repetition for you.

Since this collection is 100% from the blog, there is no good reason to keep two versions. The PDF version is converted automatically from the original blog posts. Every title is linked back to the original blog. If you find any problem, please go to the post and leave your comment there. As it is an automatic conversion, there may be some formatting problem. Please leave your comment if you find one. You can also contact me by email: [email protected]

Category >> Java  
If you want someone to read your code, please put the code inside <pre><code> and </code></pre> tags. For example:
String foo = "bar";