Tag: Java Collection

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. […]

One of the IT Companies Java Interview Questions and Answers-1

One of the IT Companies Java Interview Questions and Answers-1   1)  How many objects will be created for the following scenario? Integer a1=10; Integer a1=10; Integer a1=20; Integer a1=15; Ans: 3 objects will be created. Explanation: Java storing value in the cache and while initialization will check in the cache, if it is exist […]

Java Collection Framework Interview Questions and Answers

Here I am going to sharing list of Java Collection Framework Interview Questions and Answers. Which are asking in the interview frequently. Java Collection Framework Interview Questions and Answers   NarayanaswamyHello! I am Narayanaswamy founder and admin of narayanatutorial.com. I have been working in the IT industry for more than 12 years. NarayanaTutorial is my […]