SyntaxFix
Write A Post
Hire A Developer
Questions
A slightly simplified answer:
public class Book { private final String title; public Book(String title) { this.title = title; } public Book() { this("Default Title"); } ... }