Tutorial

Java Q&A: The ultimate superclass, Part 3

This post completes a three-part series in which I present and answer questions about Object and its methods.

06/26/14

Java Q&A: The ultimate superclass, Part 2
Tutorial

Java Q&A: The ultimate superclass, Part 2

Java beginners are invited to dig deeper into Java's ultimate superclass with this introduction to Object's finalize(), getClass(), and hashCode() methods.

04/15/14

Tutorial

Java Q&A: The ultimate superclass, Part 1

This post launches a three-part series in which I present and answer questions about Object and its methods.

03/07/14

How-To

Java Library Evolution Puzzlers

Exploring puzzling code to figure out why it doesn't do what seems obvious is one way to improve your programming skills. Java gurus Joshua Bloch and Neal Gafter took this tactic to heart when they wrote the popular Java Puzzlers...

11/24/13

How-To

Reading and Writing Excel Spreadsheets

The open source community has created many open source Java projects, which range from charting software to game frameworks to word processors. In this post, I introduce an open source library project for reading and writing Microsoft

10/05/13

How-To

Useful Utility Applications

Simple utility applications can be very helpful to Java developers. For example, you might need an application that generates a hexadecimal listing of a binary file.

09/29/13

How-To

Transience

The Java language's transient keyword isn't as well known as for , class , synchronized , and other familiar keywords; which makes it a perfect candidate for inclusion in a job interview questionnaire.

09/21/13

How-To

Collections Framework Idioms

Java's Collections Framework provides many convenient idioms for accomplishing common tasks (e.g., removing a collection's null elements). In this post, I present a handful of these idioms, which can help you write clearer and shorter

09/14/13

Tutorial

Customizing Swing's File Chooser

The javax.swing.JFileChooser class describes a Swing component for choosing files, usually via its int showOpenDialog(Component parent) and int showSaveDialog(Component parent) methods. In this post, I enumerate various ways to...

09/07/13

Q&A

Java Q&A: A New Beginning

Welcome to Java Q&A . In this new blog, I answer all kinds of technical questions related to Java. Each post presents one or more Java questions (based on a theme) and offers answers.

08/31/13

Load More