Thursday, 3 May 2012

Java Collection Interview call.

How HashMap in Java?
This is a classic interview question Java collections I have to say about living in a HashMap in Java, the question was that the collection is mostly in the conference, AVP's role in the investment and there are a lot of questions in response to the Interviewer, to what key HashMap need to be changed, that they are conditions in the list in the HashMap, and how to adjust the amount of HashMap in Java for explanations and answers to this, please. see the link above.

The difference between failure and Iterators is not safe?
This is a collection of interview questions and tips if you want to hear the word quickly and safely in the first Iterators Fail-fast bow. ConcurrentModificationException. When the thread is iterating over the collection, and the collection and control structure by adding, deleting or modifying the underlying objects in the collection. Are known to quickly fail because they try to throw up, but with the lack of experience when Iterators are not safe to work in the collection of the original collection.


The difference between synchronization and data collection. ConcurrentCollection is?
Java5 added several classes. ConcurrentCollection to ConcurrentHashMap, CopyOnWriteArrayList, BlockingQueue etc., in an interview with a collection of Java, although Java is a trickier way to copy the collection to ArrayList, HashMap, using Collections. . synchronizedMap () utility function.One principal difference is that ConccurentCollections. More efficient data collection that is closed to the specific section of the map to achieve concurrency and synchronization. The difference between SynchronizedCollection and ConcurrentCollection in Java for more information.



Again we list the difference, and what is it?
This is a collection of interview questions and the most junior of the conference to have more experience in Java 2 to 3 years in the functionality that is unique, with the exception of the detailed Again. to take away the () the manner and the second, to navigate to different pages. Again we Collection.Another is easy to list and does not allow other threads to modify the methods of collection at the second () and throws in Java VS Enumeraiton ConcurrentModificaitonException Again we see the difference.


The difference between HashMap and Hashtable?
This is another classic collection of interviews with many of the Java and Java is the beginning of the content, there are predefined, this conversation is not the same questions as HashMap hashtalbe not. HashMap is faster than the hashtable that can be wrong is if you put that question to another, such as HashMap in Java, or can replace Hashtable with ConcurrentHashMap, etc. VS HashMap HashTable in Java in the details of the conference. this time

When you are using. ConcurrentHashMap in Java?
The other is that which is gathered of which are located in Java, known as the interviewers are augmented by the following. ConcurrentHashMap or a ConcurrentHashMap. Well suited for situations where there are many readers and.
A writer or less, with maps that have been closed by the write operation. If, as many readers as writers ConcurrentHashMap. The hashtable is implemented in a synchronized HashMap.

In between sets and lists in Java?
Another classic was a collection of Java that is popular in the first round of interviews over the phone. Java How to keep the lakes, especially in the arts, in general, it is not lawful to insert This is not as a race who can teach a pain Interviewer. in accordance with the requirements.

How such objects in the collection?
This is a collection of interviews, not only serves two. However, a test program to prioritize the idea but also as a collection of various utilty for creating the collection and sorting. Sorting is performed using the paired comparison in Java, and with you. Collections.sort () will be made in the manner specified in the order of nature to compare the Collections.sort (related) to an object based on the comparison () method of comparison. Sorting in Java using the compare and see for the details.


The difference between the bars, and ArrayList is it?
Interview question to start with a collection of still more popular, especially on the phone with ArrayList in Java is the most collected and used and are asking about. ArrayList.See the difference between the bars, and the response to our ArrayList for this conference.


The difference between HashMap and HashSet is?
This collection of interview questions are asked with the view hashtable HashMap VS VS HashMap HashSet for detailed answers.

No comments:

Post a Comment