Java
What is the purpose of flush() in Java streams?
java
buffering
io-performance
best-practices
What is the maven-shade-plugin used for, and why would you want to relocate Java packages?
java
maven-plugin
dependency-management
uber-jar
What is the Java ?: operator called and what does it do?
java
ternary-operator
java-8
best-practices
What is the Java equivalent for LINQ?
java
streaming
lambda-expressions
reactive-programming
What is the inverse function to XOR?
java
xor-algorithms
bit-manipulation
problem-solving
What is the ellipsis (...) for in this method signature?
java
varargs
method-signature
java-8
What is the difference between up-casting and down-casting with respect to class variable
java
casting
instanceof
polymorphism
What is the difference between Unidirectional and Bidirectional JPA and Hibernate associations?
java
hibernate
jpa
associations
What is the difference between Swing and AWT?
java
gui-frameworks
swing-vs-awt
java-gui
What is the difference between field, variable, attribute, and property in Java POJOs?
java
encapsulation
pojos
java-objects
What is the difference between `Enum.name()` and `Enum.toString()`?
java
enum-methods
java-best-practices
enum-usage
What is the difference between "Class.forName()" and "Class.forName().newInstance()"?
java
reflection
class-loading
instantiation
What is the difference between cacerts and keystore?
java
ssl-handshake
truststore
keystore-management
What is the difference between ? and Object in Java generics?
java
generics
wildcards
type-safety
What is the default access modifier in Java?
java
access-modifiers
java-access-modifiers
default-access-modifier
What is PECS (Producer Extends Consumer Super)?
java
type-substitution
liskov-substitution-principle
generics
What is InputStream & OutputStream? Why and when do we use them?
java
io-operations
stream-decorator
buffering
What is a 'SAM type' in Java?
java
lambda
functional-programming
event-listeners
What is a reasonable order of Java modifiers (abstract, final, public, static, etc.)?
java
best-practices
coding-standards
java-modifiers
What is a fat JAR?
java
maven
gradle
dependency-management
Prev
1
2
3
4
...
102
Next
explain.codes
/
Java