A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
Creating simple data classes in Java traditionally required substantial boilerplate code. Consider how we would represent Java’s mascots, Duke and Juggy: public class JavaMascot { private final String ...
In this post, we will learn how to call a method in Java. This is a useful “chunk” of code that you can call from anywhere else in your program, thus preventing you from needing to write out the same ...
Before Java SE 8, anonymous classes were typically used to pass functionality to a method. This practice obfuscated source code, making it harder to understand. Java 8 eliminated this problem by ...
Naming conventions are important if you're a Java developer. Naming conventions not only make your Java code easier to read, they make your code self-documenting as well. Fellow developers can tell in ...
Community driven content discussing all aspects of software development from DevOps to design patterns. There are only half a dozen classes you really need to master to become competent in the world ...
We discuss how to work with directories, sub-directories, and traverse them using Java and the DirectoryStream method. Learn more. A directory is an organizational file system structure that contains ...