Explain Codes LogoExplain Codes Logo

Java

How many characters can a Java String have?

java
string-handling
unicode
performance-optimization

What version of javac built my jar?

java
bytecode
javap
java-versions

Convert InputStream to BufferedReader

java
io-exceptions
bufferedreader
inputstream

Difference between Static and final?

java
singleton
best-practices
memory-management

Maven dependencies are failing with a 501 error

java
maven
https
security

Are there any Java method ordering conventions?

java
best-practices
refactoring
code-quality

What is this spring.jpa.open-in-view=true property in Spring Boot?

java
jpa-patterns
hibernate-configuration
transaction-management

Intellij: Error:java: error: release version 5 not supported

java
maven
intellij
compiler-settings

How can I convert JSON to a HashMap using Gson?

java
custom-deserializer
gson
json-parsing

Java time-based map/cache with expiring keys

java
cache-management
time-based-cache
java-8

Can I pass an array as arguments to a method with variable arguments in Java?

java
varargs
arrays
performance

The split() method in Java does not work on a dot (.)

java
regex
escape-character
pattern-quote

Last iteration of enhanced for loop in java

java
string-concatenation
efficiency
string-gymnastics

How to check if a folder exists?

java
file-system
directory-structure
symbolic-links

Java Pass Method as Parameter

java
method-references
java-8
design-patterns

Class with single method -- best approach?

java
best-practices
object-oriented-design
utility-classes

Convert LocalDate to LocalDateTime or java.sql.Timestamp

java
prompt-engineering
best-practices
datetime

What exactly is Field Injection and how to avoid it?

java
dependency-injection
testing-strategies
best-practices

How can I get System variable value in Java?

java
environment-variables
system-properties
java-8

Problems using Maven and SSL behind proxy

java
ssl-certificates
maven-configuration
keytool