News

The difference between abstract classes and interfaces has long vexed Java developers. Find out how Java 8's default methods introduce both new complexity and new options to that familiar ...
Readers have returned quite a bit of feedback concerning, “Abstract Classes Vs. Interfaces” from April 2001. A recurring request asks to see a complete example of using interfaces and abstract ...
This post explains how to use classes in Java to build objects and organize your code. Also learn: constructors, static methods, and more!
Think you've nailed the basics of Java pattern matching? Keep learning with these Java pattern matching examples involving records, inferred types and generics.
He has led software development projects to build enterprise-class software applications and has extensive experience with Java and Perl. He is the author of several Java books, including one called ...