Core java - Interview Questions and Answers for 'Lab49' | Search Java Interview Question -

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 'Lab49' - 2 question(s) found - Order By Newest

  Q1. Difference between Vector and ArrayList ?Core Java
Ans. Vectors are synchronized whereas Array lists are not.

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

   Like         Discuss         Correct / Improve     java   basic interview question   vector   arraylist   collections   synchronization     Asked in 34 Companies      basic        frequent

Related Questions

 If you are given a choice to use either ArrayList and LinkedList, Which one would you use and Why ?
  What is the difference between ArrayList and LinkedList ?
  Difference between TreeMap and HashMap ?
  Difference between HashMap and Hashtable?
  Can you provide some implementation of a Dictionary having large number of words ?
 Collections.sort can only be performed on ..

a. Set
b. List
c. Map
d. Any Collection implementation
  What is the difference between List, Set and Map ?


What are the different Java Collections Interfaces ?
  What are strong, soft, weak and phantom references in Java ?
  What are the Disadvantages of using Collection Classes over Arrays ?

 Q2. How do you check memory leak in Java?Core Java2017-12-26 10:02:18

Ans. You need to capture heap dump when it's in the healthy state. Start your application. Let it take real traffic for 10 minutes. At this point, capture heap dump. Heap Dump is basically the snapshot of your memory. It contains all objects that are residing in the memory, values stored in those objects, inbound

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

   Like         Discuss         Correct / Improve     memory leaks  heap dump     Asked in 1 Companies      intermediate

Related Questions

  How substring() method of String class create memory leaks?
  Name few tools for probing Java Memory Leaks ?
 What is memory leak ? How Java helps countering memory leaks compared to C++ ?
 How observer pattern can introduce memory leaks ?
 How do you analyze memory leaks in your java application ?
 Explain memory leaks and how to prevent them.
 Should we do anything to avoid memory leaks in Java ?
 Have you had to work with memory leak problems in javascript ?

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: