Multithreading and concurrency are nothing new, but one of the innovations of the Java language design was that it was the first mainstream programming language to incorporate a cross-platform threading model and formal memory model directly into the language specification. While this simplifies the development of platform-independent concurrent classes, it by no means makes writing concurrent classes trivial -- just easier.
Here are a selection of common questions and answers about Java programming. Question categories are grouped by Applets, AWT / Graphics, I/O & Files, Language questions, Data type issues, Keywords, Operators, Networking, Java.util package and more.