public class Accounts {
/** Single instance of a company's accounts. */
private static final Accounts instance = new Accounts();
/** Return the single instance of the company's accounts. */
public static Accounts getInstance() {
return instance;
}
/** Supress public default constructor to assure non-instantiation */
private final Accounts() {
// Never invoked from outside the class
}
}