Explain Codes LogoExplain Codes Logo

Java

Is it possible to iterate through JSONArray?

java
json-iteration
exception-handling
java-streams

How can I find Java heap size and memory used (Linux)?

java
memory-management
jvm-parameters
garbage-collection

How to convert an int array to String with toString method in Java

java
arrays
string-conversion
streams

How can I open Java .class files in a human-readable way?

java
decompilation
javap
bytecode

Hibernate show real SQL

java
logging
hibernate
sql-logging

How do I compare strings in Java?

java
string-comparison
null-safety
interning

How to set connection timeout with OkHttp

java
connection-timeout
okhttp
retrofit

Is not an enclosing class Java

java
inner-classes
static-nested-classes
encapsulation

Volatile Vs Atomic

java
concurrency
atomicity
volatile-variables

How to implement the Android ActionBar back button?

java
android-actionbar
back-button
android-development

How to generate a random alpha-numeric string

java
random-string-generation
security
performance

Java.net.malformedurlexception: no protocol

java
xml-parsing
memory-management
streaming-data

How to hash some String with SHA-256 in Java?

java
hashing
sha-256
encoding

Get source JARs from Maven repository

java
dependency-management
maven-repository
source-jars

Convert Long into Integer

java
null-handling
overflow-handling
conversion-strategies

Converting an int to a binary string representation in Java?

java
binary-conversion
integer-to-binary
java-8

Use Mockito to mock some methods but not others

java
mockito
unit-testing
test-coverage

Examples of GoF Design Patterns in Java's core libraries

java
design-patterns
java-8
object-handling

Getresourceasstream returns null

java
class-loading
resource-management
best-practices

What is a JavaBean exactly?

java
encapsulation
serialization
object-oriented-programming