Hashcodes in Java

What happens if two different object hash to the same hashcode and then are placed in a HashMap?

1 min read

Method Synchronization

In Java, access to shared resources can be controlled by using synchronized methods. An instance method is declared to be a synchronized method by adding the modifier synchronized to its declaration. For example:

1 min read

How to SSH without using a Password

The basis of using ssh without typing your password is public key based authentication. You need to generate a pair of public/private keys for this.

~1 min read