What is difference between capacity and size of arraylist?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Data Structures Interview Questions

We know that Arrays are objects so why cannot we write strArray.length()?

0 Answers  


Does arraylist shrink?

0 Answers  


What is the minimum number of queues needed when implementing a priority queue?

0 Answers  


Define indegree of a graph?

0 Answers  


State the difference between queues and linked lists?

0 Answers  






What is the difference between static and dynamic data?

0 Answers  


Explain what are the methods available in storing sequential files ?

0 Answers  


How is it possible to insert different type of elements in stack?

7 Answers   TCS,


Write any two principles of gradation of structures.

0 Answers   Mahatma Gandhi University,


Does treemap sort on key or value?

0 Answers  


Define non linear data structure.

0 Answers  


What are the scenarios in which an element can be inserted into the circular queue?

0 Answers  


Categories