Java
When should we use intern method of String on String literals
java
string-interning
performance-optimization
memory-management
When should we call System.exit in Java
java
shutdown-hooks
system-exit
thread-management
When should one use final for method parameters and local variables?
java
immutability
best-practices
thread-safety
When should I use File.separator and when File.pathSeparator?
java
file-separator
file-path-separator
cross-system-compatibility
What to return if a Spring MVC controller method doesn't return value?
java
response-entity
void-method
http-status-code
What's the simplest way to print a Java array?
java
array-printing
debugging
java-8
What's the nearest substitute for a function pointer in Java?
java
functional-programming
lambdas
functional-interfaces
What's the difference between Thread start() and Runnable run()
java
concurrency
thread-pool
callable
What's the difference between JPA and Spring Data JPA?
java
repository-pattern
jpa-configuration
spring-data-jpa
What's the best way to check if a String represents an integer in Java?
java
exception-handling
performance-optimization
string-validation
What's the best way to build a string of delimited items in Java?
java
string-join
string-builder
performance-optimization
What's the actual use of 'fail' in JUnit test case?
java
test-engineering
assertions
exception-handling
What's causing my java.net.SocketException: Connection reset?
java
network-packets
http-client-logging
tls-compatibility
What is the use of join() in threading?
java
threading
concurrency
deadlocks
What is the use of a private static variable in Java?
java
singleton
constants
immutability
What is the purpose of flush() in Java streams?
java
buffering
io-performance
best-practices
What is the maven-shade-plugin used for, and why would you want to relocate Java packages?
java
maven-plugin
dependency-management
uber-jar
What is the Java ?: operator called and what does it do?
java
ternary-operator
java-8
best-practices
What is the Java equivalent for LINQ?
java
streaming
lambda-expressions
reactive-programming
What is the inverse function to XOR?
java
xor-algorithms
bit-manipulation
problem-solving
Prev
1
2
3
...
102
Next
explain.codes
/
Java