Core Java - Interview Questions and Answers for 'Apache common' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Core Java - Interview Questions and Answers for 'Apache common' - 2 question(s) found - Order By Rating

 Q1. What is the difference between Java SE Map and Apache Commons MultiMap ? How can we implement functionality similar to multimap using Java SE map ?Core Java
Ans. We can have duplicate keys within MultiMap whereas we cannot have duplicate keys within Java Util Map.

We can have a Map with value as a "collection of values" instead of single value to have a similar function as Multimap.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Apache commons multimap  map vs multimap


Related Questions

  Difference between HashMap and Hashtable?
  Difference between TreeMap and HashMap ?
  Can you provide some implementation of a Dictionary having large number of words ?
 How is Hashmap internally implemented in Java ?
  What is a ConcurrentHashMap ?
 Collections.sort can only be performed on ..

a. Set
b. List
c. Map
d. Any Collection implementation
 Why HashTable has been deprecated ?
  What is the difference between List, Set and Map ?

or

What are the different Java Collections Interfaces ?
  Can we use null as a key for a map collection ?
  What is comparator interface used for ?


 Q2. How to make sure that a string contains only Numerals ?Core Java
Ans. We can use NumberUtils.isNumber which is a part of apache commons package.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   apache commons   numberutils   numberutils.isnumber


Related Questions

  Difference between == and .equals() ?
  Why is String immutable in Java ?
  Explain the scenerios to choose between String , StringBuilder and StringBuffer ?

or

What is the difference between String , StringBuilder and StringBuffer ?
  Why Char array is preferred over String for storing password?
  What are different ways to create String Object? Explain.
  What is a String Pool ?
 How does making string as immutable helps with securing information ? How does String Pool pose a security threat ?
 How is string object immutable if we can concat a string to it ?
  What is StringJoiner ?
 Which of the following is false about main method ?

a. It should be declared public and static
b. it should have only 1 argument of type String array
c. We can override main method
d. We can overload main method



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: