Explain Codes LogoExplain Codes Logo

Java

What in the world are Spring beans?

java
singleton
ioc
bean-lifecycle

Mockito. Verify method arguments

java
argument-capturing
mockito-verification
test-assertions

Can one do a for each loop in java in reverse order?

java
iterators
collections
best-practices

Java: parse int value from a char

java
parse-int-value
character-getnumericvalue
ascii-trick

How to import a .cer certificate into a java keystore?

java
keytool
keystore
certificate

Including dependencies in a jar with Maven

java
maven-plugins
dependency-management
jar-packaging

Is this a "good enough" random algorithm; why isn't it used if it's faster?

java
random-number-generation
uniform-distribution
predictability

Java system properties and environment variables

java
system-properties
environment-variables
jvm-behavior

Error:java: javacTask: source release 8 requires target release 1.8

java
javacompiler
maven
gradle

Convert Existing Eclipse Project to Maven Project

java
maven-configuration
eclipse-integration
project-structure

Android Split string

java
prompt-engineering
best-practices
string-manipulation

Difference between volatile and synchronized in Java

java
synchronization
thread-safety
concurrency

How do I declare and initialize an array in Java?

java
array-declaration
array-initialization
best-practices

What is the point of "final class" in Java?

java
oop
inheritance
design-patterns

What is @ModelAttribute in Spring MVC?

java
spring-mvc
form-handling
model-attribute

Turning a string into a Uri in Android

java
uri-engineering
file-paths
url-encoding

Convert a JSON String to a HashMap

java
json-parsing
json-object
hashmap

Value Change Listener to JTextField

java
prompt-engineering
document-listener
java-8

How do I check if a file exists in Java?

java
file-existence
file-creation
java-nio-2

Make copy of an array

java
array-copying
performance-optimization
multithreading