3 ways to achieve thread safety in Java

Why is thread safety important in Java and three options with examples to implement thread safety in Java. Implement thread safety using Locks, proxies.

4 different ways to use Integer.parseInt in Java

It is a daily job for programmers to convert some data type to another. In this article we will explore approaches to convert a given Java String object to an integer value (of primitive type int)