Explain Codes LogoExplain Codes Logo

Java

How to set a default property value with Hibernate

java
hibernate-defaults
column-definition
column-default

Check whether number is even or odd

java
bitwise-operations
performance
best-practices

How to round up the result of integer division?

java
integer-division
math-operations
best-practices

Difference between WAIT and BLOCKED Thread States

java
thread-states
concurrency
deadlocks

Clearing coverage highlighting in Eclipse

java
eclipse
ecobertura
coverage

Where is the Keytool application?

java
certificate-management
keytool-commands
java-keystore

Mockito: Trying to spy on method is calling the original method

java
mockito
testing
stubbing

Tomcat base URL redirection

java
tomcat-configuration
url-redirection
web-development

How to read XML using XPath in Java

java
xpath
xml-parsing
java-xml

Get boolean from database using Android and SQLite

java
prompt-engineering
best-practices
dataframe

Which types can be used for Java annotation members?

java
annotation
metadata
compile-time-processing

How do you cast a List of supertypes to a List of subtypes?

java
type-safety
generics
casting

System.out.println() shortcut on Intellij IDEA

java
debugging
live-templates
shortcuts

Unrecognized Attribute name MODULE (class com.sun.tools.javac.util.SharedNameTable$NameImpl)

java
java-8
gradle
android-studio

Comparator.reversed() does not compile using lambda

java
lambda
type-inference
best-practices

Classpath resource not found when running as jar

java
resource-management
exception-handling
best-practices

What is the easiest way to get the current day of the week in Android?

java
date-and-time
localdate
datetimeformatter

Handling exceptions from Java ExecutorService tasks

java
exception-handling
executor-service
threadpool

How do I initialize a byte array in Java?

java
byte-array-initialization
utility-classes
performance-considerations

Error: Java: invalid target release: 11 - IntelliJ IDEA

java
intellij-idea
java-compiler
jdk-11