Explain Codes LogoExplain Codes Logo

Java

Method has the same erasure as another method in type

java
type-erasure
generics
backward-compatibility

How to set background color of an Activity to white programmatically?

java
android-development
programming-best-practices
responsive-design

How do I print my Java object without getting "SomeType@2f92e0f4"?

java
reflection
tostring
debugging

Hibernate: hbm2ddl.auto=update in production?

java
hibernate
database-schema
data-integrity

Changing names of parameterized tests

java
test-engineering
best-practices
unit-testing

How to test if a double is an integer

java
floating-point-arithmetic
precision
mathematical-integer

Check if one list contains an element from the other

java
collections
best-practices
performance

Replacing all non-alphanumeric characters with empty strings

java
regex
string-manipulation
java-8

Resolving javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed Error?

java
ssl-handshake
truststore
ssl-verification

Where can I view Tomcat log files in Eclipse?

java
logging
eclipse
tomcat

What is the difference between Integer and int in Java?

java
autoboxing
performance
best-practices

Connect Java to a MySQL database

java
jdbc
mysql-connection
database-optimization

Scanner vs. BufferedReader

java
exception-handling
performance-optimization
multithreading

Non-static variable cannot be referenced from a static context

java
static-context
instance-variables
best-practices

Gradle - Could not target platform: 'Java SE 8' using tool chain: 'JDK 7 (1.7)'

java
gradle
intellij
jdk

How to programmatically close a JFrame?

java
window-management
event-dispatch-thread
gui-programming

What's the best way to share data between activities?

java
data-sharing
persistent-data
memory-leaks

Convert String array to ArrayList

java
best-practices
collections
java-8

Viewing complete strings while debugging in Eclipse

java
debugging
eclipse
performance

Initialize class fields in constructor or at declaration?

java
best-practices
code-maintainability
constructor