Explain Codes LogoExplain Codes Logo

Java

What is the difference between @Inject and @Autowired in Spring Framework? Which one to use under what condition?

java
dependency-injection
spring-framework
java-ee

Slf4j: Failed to load class "org.slf4j.impl.StaticLoggerBinder"

java
logging
dependency-management
maven

A KeyValuePair in Java

java
pair
map-entry
java-utility-classes

Difference between Encapsulation and Abstraction

java
encapsulation
abstraction
oop

Combining multiple @SuppressWarnings annotations - Eclipse Indigo

java
suppress-warnings
eclipse-indigo
java-annotations

How to make a copy of a file in Android?

java
file-handling
android-development
file-copying

Spring Boot Adding HTTP Request Interceptors

java
spring-boot
http-request-interceptors
web-development

"implements Runnable" vs "extends Thread" in Java

java
concurrency
threading
best-practices

Turning Sonar off for certain code

java
sonarqube
suppression
annotations

What's the difference between Instant and LocalDateTime?

java
time-management
java-8
best-practices

Convert LocalDateTime to LocalDateTime in UTC

java
datetime
utility-class
date-formatting

How to define a List bean in Spring?

java
bean-definition
spring-config
list-bean

Unable to execute dex: GC overhead limit exceeded in Eclipse

java
memory-management
eclipse-configuration
performance-optimization

Jackson Enum Serializing and Deserializing

java
enum-serializing
jackson-serialization
custom-serializers

Test if object implements interface

java
reflection
instanceof
polymorphism

How to Convert ASCII Code (0-255) to its Corresponding Character?

java
prompt-engineering
functions
best-practices

How to include variables within strings?

java
string-formatting
variable-inclusion
java-advanced-techniques

Adding header to all request with Retrofit 2

java
network-operations
interceptors
header-management

How to check if my string is equal to null?

java
null-safety
string-manipulation
best-practices

Spring MVC: Complex object as GET @RequestParam

java
spring-mvc
dto-classes
data-binding