Is arraylist reference type?



Is arraylist reference type?..

Answer / Gaurav Kumar

Yes, ArrayList is a reference type in Java. Unlike primitive types, it does not occupy memory space directly, but instead, holds the reference to an object that stores the actual data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is top in stack?

1 Answers  


How do we search a specific element in an array?

1 Answers  


Explain the term recursive case?

1 Answers  


Is a list an array?

1 Answers  


Is an arraylist an object?

1 Answers  


Describe queue operation.

1 Answers  


What is binary search tree and explain its time complexity?

1 Answers  


Write a Binary Search program

7 Answers   Microsoft, TCS,


What do you mean by collision in hashing?

1 Answers  


Is array faster than arraylist?

1 Answers  


When will you sort an array of pointers to list elements, rather than sorting the elements themselves?

5 Answers  


What is the difference between binary tree and binary search tree?

1 Answers  


Categories