Categories
java string

What is the difference between “text” and new String(“text”)?

Categories
formatting java zero-pad

How can I pad an integer with zeros on the left?

Categories
clone copy java object

How do I copy an object in Java?

Categories
https java ssl

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

Categories
diamond-operator generics java java-7

What is the point of the diamond operator () in Java?

Categories
invoke java reflection

How do I invoke a Java method when given the method name as a string?

Categories
annotations java

When do you use Java’s @Override annotation and why?

Categories
java macos

How to set or change the default Java (JDK) version on macOS?

Categories
constructor inheritance java oop overriding

What’s wrong with overridable method calls in constructors?

Categories
java java.util.scanner validation

Validating input using java.util.Scanner [duplicate]