Arrays

so why use arrays methods, cant we just do what we want directly?

Arrays have predefined methods for use by all arrays without the need for us to re-invent the wheel.

It is possible for us to write sorting algorithms, slicing algorithms, reversing, enumerating, counting, extending and deleting algorithms, but what would be the point if we have optimized and efficient methods at our disposal?

2 Likes