Here is the quick reference for Java Programming I found on the web. It summarizes common features and usage in shortest and easiest way possible.
This is just a blog post taking useful content published on Princeton University's site as part of some course. Do visit original site here for additional resources. For the good intend to share the knowledge with other users and programmers. No intention of modifying or removing credits. Just thought to share this awesome resource with everyone. For more in depth reference, above link to university's website is advised. It is well documented with excellent documentation and programming examples. Note that some examples below are custom code written by authors and I have denoted it by adding "Custom Implementation" to the topic name.
Original authors and work credit goes to Robert Sedgewick and Kevin Wayne as mentioned in the original website of Princeton University computer science department. All thanks to them for their hard work work and making it available to everyone on the web.
Hello, World.
Editing, compiling, and executing.
Built-in data types.
Declaration and assignment statements.
Integers.
Floating-point numbers.
Booleans.
Comparison operators.
Printing.
Parsing command-line arguments.
Math library.
The full java.lang.Math API.
Java library calls.
Type conversion.
Anatomy of an if statement.
If and if-else statements.
Nested if-else statement.
Anatomy of a while loop.
Anatomy of a for loop.
Loops.
Break statement.
Do-while loop.
Switch statement.
Arrays.
Inline array initialization.
Typical array-processing code.
Two-dimensional arrays.
Inline initialization.
Standard output library (Custom Implementation).
The full StdOut API.
Standard input library (Custom Implementation).
The full StdIn API.
Standard drawing library (Custom Implementation).
The full StdDraw API.
Standard audio library (Custom Implementation).
The full StdAudio API.
Command line.
Redirection and piping.
Functions.
Libraries of functions.
Standard random library (Custom Implementation).
Standard statistics library (Custom Implementation).
Using an object.
Instance variables.
Constructors.
Instance methods.
Classes.
Object-oriented libraries.
Java's String data type.
The full java.lang.String API.
Java's Color data type.
The full java.awt.Color API.
Input library (Custom Implementation).
The full In API.
Output library (Custom Implementation).
The full Out API.
Picture library (Custom Implementation).
The full Picture API.
Stack data type (Custom Implementation).
The full Stack API.
Queue data type (Custom Implementation).
The full Queue API.
Iterable.
Symbol Table data type (Custom Implementation).
The full ST API.
Set data type (Custom Implementation).
The full SET API.
Graph data type (Custom Implementation).
Bookmark this right away for reference in future. Do share and help others learn if you have too.