What is interface and abstract class.
What is synchronized block ,static block .
How hash map works internally.
Difference between hashmap and hash table and concurrent hashmap.
Difference between arraylist and vector.
73 down vote Yes, a constructor can be private. There are different uses of this.…
Under the documentation for OutOfMemoryError it declares that it will not be thrown unless the…
ConcurrentHashMap. It allows concurrent modification of the Map from several threads without the need to…
Here is my code which serializes, and deserializes. FileOutputStream fos = new FileOutputStream(“myserial1.txt”); ObjectOutputStream oos…