Core java - Interview Questions and Answers for 'Alibaba' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 3268 questions in repository.
 There are more than 200 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

   



Alibaba


   




Core java - Interview Questions and Answers for 'Alibaba' - 2 question(s) found - Order By Newest

 Q1. Which collection stores element in insertion order ?Core Java2018-01-10 09:48:36

Ans. LinkedList maintains the insertion order in collection.

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

   Like         Discuss         Correct / Improve     collections     Asked in 1 Companies


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 ?

or

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


Frequently asked in Alibaba (Based on 2 feedback)
 Q2. What is the best Memory setting for JVM ?Core Java2016-12-13 10:18:56

Ans. In Java JVM memory settings is done by use the arguments -Xms -Xmx. Use M or G after the numbers for indicating Megs and Gigs of bytes respectively. -Xms indicates the minimum and -Xmx the maximum.

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

   Like         Discuss         Correct / Improve     jvm  memory management  jvm best memory setting     Asked in 1 Companies      intermediate


Related Questions

  What are different ways to create String Object? Explain.
  Does garbage collection guarantee that a program will not run out of memory?
  Describe what happens when an object is created in Java ?
  Describe, in general, how java's garbage collector works ?
  What are various types of Class loaders used by JVM ?
  What are strong, soft, weak and phantom references in Java ?
 What will happen if we don't have termination statement in recursion ?
 Why two types of memory - stack and heap are required by Java ?
  Different types of memory used by JVM ?
  What is a class loader ? What are the different class loaders used by JVM ?




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

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:
         

X Close this