Actualités

Here's how to make classes, fields, methods, constructors, and objects work together in your Java programs.
Object-oriented systems are usually partitioned into layers of related responsibilities and only dependencies in one direction are allowed, from higher layers (more specific, less reusable) to lower ...
Copying objects is a common Java programming operation that has one serious trap. Here's how to avoid copying from an object reference and only copy the instance and values you want.
Reference objects aren't just useful when memory is at a premium; they can also be used to provide slick caching abilities to any application.
What is the single responsibility principle? The single responsibility principle in Java demands that a class serves a single, clear purpose. Any attempt to add peripheral functionality to a ...