MakeUseOf logo

Java

Follow
Followed

Page 2

Spring RSET API
How to Create a REST API With Spring Boot
API

Get an API up and running quickly with Spring Boot.

Image of factory
What Is the Factory Design Pattern?

The Factory Design Pattern is a useful tool in software development. Learn what it is and how to implement it using Java.

Gloved hand pulling weed with unnecessary software icons from a garden
12 Unnecessary Windows Programs and Apps You Should Uninstall

Wondering which Windows apps to uninstall? Here are several unnecessary Windows 10 and 11 apps, programs, and bloatware you should remove.

Person wrapping a gift
What Is the Decorator Design Pattern?

Discover the decorator pattern and build more flexible, extensible object hierarchies.

Spring framework
An Introduction to the Spring Framework

Put some Spring in your step and learn how to build apps with this powerful framework.

Somebody holding a laptop in one hand writes on a whiteboard with their other.
What Is the Template Method Design Pattern?

Use the power of abstract and final methods to keep control over subclass implementations.

The Java logo sitting on a brown background image with a paper effect.
Why Does Nobody Want to Learn Java in 2022?

Java has its fans, but also its critics. Here are some of the reasons more and more developers may be avoiding the language.

People using a laptop
What Is the Singleton Design Pattern?

The singleton pattern has some solid use cases, so make sure you know how to use it.

Person typing at a laptop on a desk
How to Calculate the Factorial of a Number

It's easy to manually compute a factorial, but how do you do so programatically, in the cleanest way possible?

Laptop displaying code with two hands resting on the keyboard
How to Create Dependency Injections in JUnit

Clean up your test cases with automatic dependency injection, courtesy of JUnit.

Three flat stones in a pile, with the smallest on top and the largest on the bottom.
How to Create Nested Tests in JUnit

A comprehensive test suit can quickly balloon, with many separate test classes. Learn how to organize them into groups using nested tests.

Man playing a game on a tv console
What Is the Easiest Programming Language for Games?

Dreaming of writing the next big game? The best place to start is with a solid grounding in one of the best languages for game development.

Laptop displaying a Java class
How to Use the @Before and @After Annotations in JUnit

Unit tests should isolate functionality as much as possible, but it can be tricky to eliminate all dependant code. These annotations will help out.

Person coding on laptop
How to Use the @DisplayName Annotation in JUnit

Clean up your test method names with this simple annotation.

Laptop displaying code
Learn How to Use Assertions in Your JUnit Tests

Testing is key to your software’s success and assertions are key to testing. Learn all about how to use them in JUnit.

Person using multiple computers
What Is JUnit 5 and What Can You Use It For?

Testing your code with a framework like JUnit gives peace of mind and improves your overall software development process.

Person working on a laptop
Learn How to Join Strings in Java

Working with text? You probably are, so you’ll definitely need to know all about combining strings.

Tree with green leaves
How to Use the Java TreeMap Data Structure

A TreeMap is a memory-efficient data structure which works well with an unknown quantity of data. Find out how to use this class in Java.

Stack of files on table
The Different Ways You Can Copy Files in Java

Try one of these approaches to copying a file in Java, but be sure to understand which is best for your needs.

AltStyle によって変換されたページ (->オリジナル) /