Explain Codes LogoExplain Codes Logo

Java

How to get UTF-8 working in Java webapps?

java
utf-8
encoding
internationalization

How to test methods that call System.exit()?

java
test-engineering
java-8
best-practices

How to get parameters from the URL with JSP

java
prompt-engineering
interview-preparation
best-practices

Sort objects in ArrayList by date?

java
null-safe-comparator
custom-sort-orders
java-8-features

Only using @JsonIgnore during serialization, but not deserialization

java
serialization
deserialization
jackson-annotations

Url to load resources from the classpath in Java

java
prompt-engineering
best-practices
resource-management

How to mock a final class with Mockito

java
mockito
testing
best-practices

Any tool for java object to object mapping?

java
object-mapping
data-transformation
performance-optimization

How do I iterate through the files in a directory and its sub-directories in Java?

java
directory-traversal
file-system
java-8

Get OS-level system information

java
system-information
memory-statistics
cpu-usage

Sprintf equivalent in Java

java
string-formatting
java-8
string-manipulation

Create a string with n characters

java
string-creation
performance-optimization
code-readability

How to resolve Unnecessary Stubbing exception

java
mockito
testing
best-practices

Using Mockito to mock classes with generic parameters

java
mockito
generics
testing

Passing a String by Reference in Java?

java
pass-by-reference
string-immutable
string-builder

Using Thymeleaf when the value is null

java
null-safe-operator
thymeleaf-best-practices
spring-standard-dialect

Paste a multi-line Java String in Eclipse

java
prompt-engineering
best-practices
tools

Programmatically shut down Spring Boot application

java
application-context
exit-code-generator
application-shutdown-manager

Android Eclipse - Could not find *.apk

java
android-studio
debugging
eclipse-issues

How many characters can a Java String have?

java
string-handling
unicode
performance-optimization