Skip to content

123ash-cloud/array-and-arraylist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Describing functions of arrays and Array lists

Array functions are used for sorting and searching elements in an array. It stores a sequence of values of a specified data type. Rather, it could be a double, int, string, etc. Arrays contain a set of values that the programmer assigns. Its elements are positioned by indices. And once the programmer declares a collection of elements, the length of it cannot be changed.

An ArrayList in Java is a sequence of values whose size you can change. ArrayList offers two concluding advantages that arrays do not.

  1. Array lists can increase and decrease if needed.
  2. The ArrayList class implements methods for basic tasks. For example, it can insert and remove elements.

About

new-repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors