Save
sample
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Charmae Bering
Visit profile
Cards (13)
Arrays in Java
Data structures
that store a collection of variables of the same data
type
One-dimensional arrays
List
Variables
of similar
data
type
Two
-dimensional arrays
Dimensional
Java for
loop
Executes a set of statements until condition is satisfied
Java for each
loop
Returns the
elements one by one
in a
defined variable
Java sort
Ordering the list of objects
Merge sort
Divide the array into two sub arrays,
sort
each sub array, then
merge
the sorted sub arrays
Bucket
sort
Divides
the input into a
finite
number of buckets or bins
Selection sort
Selecting the smallest element, then swapping the next item in the next position to be filled
Array
class in
Java
Provides the static method to dynamically created and access Java arrays
Compare(array 1, array 2)
Method compares two arrays passed as parameters lexicographically
CompareUnsigned(
array1
, array2)
Method compares two arrays lexicographically, numerically treating elements as unsigned
copyOf
(
originalArray.
newLength)
Method copies the specified
array, truncating or
padding with the default value (if necessary)
to the
length of the new array