Explain Codes LogoExplain Codes Logo

Java

A for-loop to iterate over an enum in Java

java
enum
best-practices
performance

How do I get the size of a java.sql.ResultSet?

java
database-performance
resultset
sql-optimization

How to set background drawable programmatically in Android

java
android-development
performance-optimization
best-practices

Spring RestTemplate GET with parameters

java
rest-template
http-requests
uri-components

Calculate date/time difference in java

java
prompt-engineering
time-unit
date-time

Different ways of loading a file as an InputStream

java
class-loading
file-input-stream
resource-loading

Interface naming in Java

java
interface-driven-design
programming-to-an-interface
best-practices

What is the difference between the HashMap and Map objects in Java?

java
collections
best-practices
interface

'must Override a Superclass Method' Errors after importing a project into Eclipse

java
compiler-settings
eclipse-configuration
java-compiler

How can I read numeric strings in Excel cells as string (not numbers)?

java
dataformatter
formulaevaluator
number-to-text-converter

Java Naming Convention with Acronyms

java
best-practices
naming-conventions
java-standards

How can I fix 'android.os.NetworkOnMainThreadException'?

java
networking
async-task
threadpoolexecutor

How to use Jackson to deserialise an array of objects

java
json-parsing
jackson-library
deserialization

How do I avoid checking for nulls in Java?

java
null-checks
assertions
functional-programming

Mockito + PowerMock LinkageError while mocking system class

java
mockito
powermock
linkageerror

How to send HTTP request in Java?

java
http-client
http-request
http-response

Is it wrong to use Deprecated methods or classes in Java?

java
best-practices
code-quality
software-development

How to get the current working directory in Java?

java
file-systems
path-manipulation
java-nio

Error - trustAnchors parameter must be non-empty

java
ssl-connections
trust-store
java-configuration

Check if a path represents a file or a folder

java
file-system
path-api
file-operations