Explain Codes LogoExplain Codes Logo

Java

Real world use of JMS/message queues?

java
event-driven-architecture
scalable-applications
jms-queues

What is the difference between public, protected, package-private and private in Java?

java
encapsulation
access-modifiers
oop

Class JavaLaunchHelper is implemented in two places

java
intellij-idea
java-8
performance

What does the question mark in Java generics' type parameter mean?

java
promises
best-practices
collections

Localdate to java.util.Date and vice versa simplest conversion?

java
date-time-api
timezone
java-8

Installing Java on OS X 10.9 (Mavericks)

java
installation
java-home
symbolic-links

What are the differences between a HashMap and a Hashtable in Java?

java
thread-safety
collections
performance

Convert a string representation of a hex dump to a byte array using Java?

java
hex-conversion
byte-array
java-utility

How to create a .jar file or export JAR in IntelliJ IDEA (like Eclipse Java archive export)?

java
intellij-idea
jar-file
java-development

Choose between ExecutorService's submit and ExecutorService's execute

java
exception-handling
thread-pool-executor
callable

How do I get the first n characters of a string without checking the size or going out of bounds?

java
prompt-engineering
best-practices
performance

Sort a Map by values

java
prompt-engineering
functions
collections

Best way to convert an ArrayList to a string

java
performance
best-practices
string-manipulation

Compare if BigDecimal is greater than zero

java
prompt-engineering
best-practices
collections

Is null check needed before calling instanceof?

java
instanceof
null-check
best-practices

How can I convert a long to int in Java?

java
data-types
conversion-strategies
safe-coding-practices

How to launch an Activity from another Application in Android

java
android-development
activity-launch
intent

Difference between declaring variables before or in loop?

java
variable-declaration
loop-optimization
readability

Display Animated GIF

java
android-development
image-loading
animation

What is the volatile keyword useful for?

java
memory-model
concurrency
thread-safety