News

This post explains how to use classes in Java to build objects and organize your code. Also learn: constructors, static methods, and more!
Anonymous inner class callback Anytime we pass an interface with a method implementation to another method in Java, we are using the concept of a callback function.
Abstract classes and interfaces in Java serve fundamentally different purposes. Learn the differences between these Java language elements and how to use them in your programs.
Use Java method modifiers to avoid public method antipattern Follow best practices for Java method design, and don't allow one public class to call another. If you skipped this step, be prepared to ...