Chapter 7: Design Your Objects Split Method with Optional Parameters →

Split Method with Boolean Parameters

Cover of the book Java by Comparison

"Split Method with Boolean Parameters" is one of the 70 comparisons in the book Java by Comparison: Chapter 7: Design Your Objects, pages 114–115.

Like every item in the book, it shows a piece of flawed Java code on one page and the improved version on the next, and explains why the improvement is better.

Read this item for free (PDF)

E-book & print at Pragmatic Bookshelf · Amazon