Top 10 Articles in the Java Zone: January 2021
See the 10 most popular articles from the Java zone, with topics covering getters and setters, profiles in Spring Boot, and more!
Join the DZone community and get the full member experience.Join For Free
We get so many great articles here at DZone that it can sometimes be difficult to know where to find them, so we decided to compile them for you! We dug into Google analytics to find the top 10 most popular Java articles in January. Let's get started!
10. Java Getter and Setter: Basics, Common Mistakes, and Best Practices
What are getters and setters? This article aims to cover the basics as well as the best practices of getter and setter methods in Java.
9. How to Use Profiles in Spring Boot
What are profiles? In this post, learn about how to use and maintain profiles in your Spring Boot application.
8. Java 8 Comparator: How to Sort a List
Want to sort your Lists? Look no further. Check out the variety of ways you can get your Lists just the way you want them.
7. Java Thread Tutorial: Creating Threads and Multithreading in Java
This article will introduce you to all the Java Thread concepts many people find tricky or difficult to understand.
6. Design Patterns: The Builder Pattern
This look at the builder pattern takes complexity, verbosity, and clarity into consideration when implementing this classic Gang of Four design.
5. Random Number Generation in Java
Need some randomness in your numbers? Check out a few different techniques you can avail yourself of to create random (or mostly random) numbers in Java.
4. Java 8 Map, Filter, and Collect Examples
In this article, see how to use the Map and Filter functions in Java 8 to transform and filter elements of objects.
3. When to Use Abstract Class and Interface
Learn the differences between abstract class and interface, and see when it would be more helpful to use one or the other in different situations.
2. Top 10 Spring Boot Interview Questions
Have a Spring Boot interview coming up? Prepare yourself by going over these questions and answers so you have a better chance of landing the job!
1. Java String Format Examples
Always forgetting the Java String formatting specifiers? Or maybe you never took the time to learn. Here's a reference of the various flags you can use.
Are we missing any of the latest topics in our Java Zone? If you have anything to share with our community, simply create a free account and click on the “Post” button in the top right of the navigation bar once logged in. For a better chance at having your article published, check out our Article Submission Guidelines, which provide information on what we can and cannot accept as well as additional resources to help get you started.
Opinions expressed by DZone contributors are their own.