Tag: java collections interview questions

Properties

Properties It is the child class of Hashtable. In this case both key and value should be String Object only. Constructor Properties p = new Properties () Important methods of Properties String getProperty (String name). Return the value associated with the specified Property. If the specified property is not available then we will get null. […]

Most Important HashMap Interview Questions and Answers

In this post I am sharing most important HashMap interview questions along with answers. Java collections package is java.util, this is the most important package and used frequently in most of the projects. What are the methods required for an object to be used as a key or value in HashMap equals() hashcode() The key […]