0
Do lists are like arrays in java?
2 ответов
0
Arrays are a list of items, sequentially numbered. Each item in the list can be identified by its index, that is, its sequence number. In Java, all the items in array must have the same type, called the base type of the array. An array is a random access data structure; that is, you can get directly at any item in the array at any time.
0
list is like array mostly unlike it can store different datatypes value in a single list.. but array can store only the type of objects it is created for..