News

Java object serialization is a feature of the JDK that is far too often overlooked. When a developer puts together a prototype or cooks up a proof of concept, simply saving a serialized Java object to ...
How to use the Java Scanner for user input The Java Scanner class is a simple, versatile, easy-to-use class that makes user input in Java relatively straightforward. To perform user input with the ...
Joshua Bloch uses an example similar to mine above to illustrate Item 5 (“Avoid Creating Unnecessary Objects”) in the Second Edition of Effective Java. He points out that this extra ...