answersLogoWhite

0


Best Answer

Array lists are objects and are of the reference data types. If you pass an array list from a java method to another as an argument, you need not return this from the target method because the modifications to the list would be happening in its value and hence would be available in the parent or calling method without being received as an output from the called method.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is array list a value type or reference type?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is array list value type or reference type?

Arrays are reference type. array values are always pass by reference.


Array is value type or reference type in CSharp?

Array is a class name, hence ought to be a value type.


Is array is value type or reference type in CSharp?

refernce type


Array is value type or reference type in c?

An array always stores the values in its different shells. Whenever the shell position or number or address is mentioned it means the address of the required value is mentioned. then the value of the mentioned address is fetched. So, array is a reference type in c language.


An array is a list of data items that all have the same type and the same name?

An array element has the same type as the array name.


How would you use the word array in a sentence?

An array is a list of data items or variables of the same type, like a list of numbers or a list of dates or a list of names.


Is string a value type or a reference type?

It can depend on what language you are using, but it's generally a reference type.


Type of indent used in a referance list?

A hanging indent is used in a reference list.


Can you store non primitive data type in the array list?

Yes you can store non primitive data type variables in an array. String is a non primitive data type. You can declare a string array as: String a[]=new String[10];


What type of indent is used in a reference list for APA papers?

A hanging indent is used in a reference list for APA papers.


Type of indent in a reference list?

A hanging indent is used in a refrence list.


What type of list is not allowed in reference papers?

Bulleted