I\'ve been wondering what the best (i.e. cleanest/safest/most efficient) way of handling multiple constructors in Java is? Especially when in one or more constructors not al
Another consideration, if a field is required or has a limited range, perform the check in the constructor:
public Book(String title) { if (title==null) throw new IllegalArgumentException("title can't be null"); this.title = title; }