Interview Questions and Answers for 'Lab49' | 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

   



Interview Questions and Answers for 'Lab49' - 3 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   vector vs arraylist     Asked in 35 Companies      basic        frequent


Related Questions

  What is the difference between ArrayList and LinkedList ?
 If you are given a choice to use either ArrayList and LinkedList, Which one would you use and Why ?
  Difference between HashMap and Hashtable?
  Difference between TreeMap and HashMap ?
  Can you provide some implementation of a Dictionary having large number of words ?
  Will this code give error if i try to add two heterogeneous elements in the arraylist. ? and Why ?
  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 ?
 Difference beween HashSet and TreeSet ?


Frequently asked to fresh graduates.
  Q2. Difference between Process and Thread ?Operating System
Ans. Process is a program in execution whereas thread is a separate path of execution in a program.

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

   Like         Discuss         Correct / Improve     java   threads   multi threading   operating system   process vs thread     Asked in 24 Companies      basic        frequent


Related Questions

  What is a Deadlock ?
  What is the difference between time slicing and preemptive scheduling ?
  What are the difference between Threads and Processes ?
  Why threads block or enters to waiting state on I/O?
  What is the difference between yield() and sleep()?
  What is the initial state of a thread when it is created and started?
  What is suspend() method used for ?
  Difference between suspend() and stop() ?
  What is a daemon thread? Give an Example ?


 Q3. How do you check memory leak in Java?Core Java
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: