A quick and practical comparison between varargs and arrays as input parameters.
Search Results for: compiler
Migrate From Java 8 to Java 17
Explore some extremely useful features available in the newer versions of Java. These features aren’t only easy to learn but can also be implemented quickly without much effort when planning to migrate from Java 8 to Java 17.
Getting Started With RethinkDB
A quick and practical guide to RethinkDB.
javax vs. java Package
Explore examples of both java and javax packages and understand the key differences between them.
Difference Between Class.forName() and Class.forName().newInstance()
A quick and practical comparison between Class.forName() and Class.forName().newInstance()
Record vs. Final Class in Java
Explore the differences between records and final classes in Java.
Ahead of Time Optimizations in Spring 6
What’s the concept of AOT and how is applied in Spring 6 looking at pros and cons.
Compiling and Executing Code From a String in Java
Learn how to turn a String containing Java source code into a compiled class and then execute it.
Record Patterns in Java 19
Learn how record patterns allow us to extract the values of a record into variables using pattern matching.
Java Weekly, Issue 470
Pattern matching, GraalVM into OpenJDK, transactional MDC, event sourcing, and Postgres as a Message Queue!
Convert Anonymous Class into Lambda in Java
A reminder of what an anonymous class is and how to convert it to a lambda expression.
Type Parameter vs Wildcard in Java Generics
A detailed explanation about generics, how and when to use type parameters, and when wildcards are more appropiate.
REST vs. GraphQL vs. gRPC – Which API to Choose?
REST, GraphQL, and gRPC are solutions to different problems when calling webservices. We look at how they differ and can be combined in our architecture.
How to Serialize a Singleton in Java
Learn how to create a serializable singleton class in Java.
Can a Java Application Use More Memory Than the Heap Size?
Learn how to restrict the total memory usage in Java.
Fixing the “java: integer number too large” Error
Learn two common pitfalls when we work with integer literals in Java.
Java Literals
Look at the different ways of specifying and using literals in Java.
Variable Instantiation on Declaration vs. on Constructor in Java
Learn that using either field declaration or constructor initialization is more of a preference.
String Concatenation in Java
Learn how to concatenate strings in Java.
What Is the null Type in Java?
A quick and practical guide to null in Java.