I was going through Java documentation, and I learned that methods in the
In Java there is no way to extend the functionally of an array. Arrays all inherit from
Object but this gives very little. IMHO This is a deficiency of Java.
Instead, to add functionality for arrays, static utility methods are added to classes like
Arrays. These methods are
static as they are not instance methods.