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

Search Interview Questions


 3152 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

   



Interview Questions and Answers for 'Landacorp' - 1 question(s) found - Order By Newest

  Q1. Difference between Arrays and ArrayList ?Core Java2018-07-22 07:23:59

Ans. Both Arrays and ArrayLists are used to store elements. Elements can be either primitives or objects in case of Arrays, but only objects can be stored in Arraylist. Array is a fixed length data structure while arraylist is variable length collection class. Once created, you cannot change the size of the arrays, but arraylists can dynamically resize itself when needed.Another notable difference between Arrays and Arrayslist is that arary is part of core java programming and array list is part of collection classes

  Sample Code for arrays arraylist

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

   Like      Discuss      Correct / Improve     array  arraylist  array vs arraylist     Infosys  HCL Technologies  TMC Bonds  FJA-US  Fareportal  LandaCorp  Mindera      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 Vector and ArrayList ?
  Will this code give error if i try to add two heterogeneous elements in the arraylist. ? and Why ?
  Difference between ArrayList and LinkedList ?
  Is this Polymorphism ?

Map<String, List<String>> inventoryManagerCountMap = new HashMap<String, ArrayList<String>>();
  What is CopyOnWriteArrayList ?
  What are the advantages and disadvantages of CopyOnWriteArrayList ?
 Can we add more elements to an array list that has been marked as final ?




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

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: