Java
How to load JAR files dynamically at Runtime?
java
reflection
classloaders
dynamic-jar-loading
Why is an array not assignable to Iterable?
java
iterable
arrays
collections
How to count the number of occurrences of an element in a List
java
collections
java-8
best-practices
What is the difference between the add and offer methods in a Queue in Java?
java
queue-implementation
java-8
thread-safety
What is a raw type and why shouldn't we use it?
java
type-safety
generics
best-practices
What does Java option -Xmx stand for?
java
memory-management
jvm-configuration
performance-tuning
Why charset names are not constants?
java
best-practices
performance
java-8
Why is package-info.java useful?
java
best-practices
annotations
javadocs
In Java, how do I call a base class's method from the overriding method in a derived class?
java
inheritance
superclass
method-overriding
Is there a javadoc tag for documenting generic type parameters?
java
generics
documentation
best-practices
Storing UUID as base64 String
java
base64-encoding
uuid
java-8
Comparing two java.util.Dates to see if they are in the same day
java
date-comparison
time-zones
java-8
I want to get Year, Month, Day, etc from Java Date to compare with Gregorian Calendar date in Java. Is this possible?
java
date-comparison
java-time-api
best-practices
Spring @Transactional - isolation, propagation
java
transactional-annotation
database-isolation
transaction-propagation
Is it better practice to use String.format over string Concatenation in Java?
java
string-format
string-concatenation
performance
How to get the path of src/test/resources directory in JUnit?
java
classloader
resource-management
maven
Why is a static method considered a method?
java
static-methods
oop-mindset
best-practices
How to get the path of a running JAR file?
java
java-8
reflection
security
Java 8 Lambda function that throws exception?
java
lambda
try-catch
functional-interfaces
Picking a random element from a set
java
random-access
data-structure
collections
Prev
1
2
3
4
...
72
Next
explain.codes
/
Java