COLLEGE OF ENGINEERING DEPARTMENT
Information Technology
Module 2 – MCO1
Arrays
DATA STRUCTURE AND ALGORITHM
Submitted By:
Aldrin Rey N. Taberara
Mark Lawrence P. Lacdao
Euri Christian F. Ripalda
Submitted To:
Salvador L. Flores Jr.
Assistant Professor II
Example 1: Access the Elements of an Array
Output:
Example 2: Change an Array Element
Output:
Example 3: Find How Many Elements in an Array
Output:
Example 4: Loop Through an Array
Output:
Example 5: Print Elements in Java Array
Output:
Example 6: Print Array in Java
Output:
Example 7: Print Array using array toString
Output:
Example 8: Basic Sorting an Array Java
Output:
Example 9: Print TwoD-Array in Java
Output:
Example 10: How to Insert Elements of 2D Arrays in Java
Output:
Example 11: How to Update Elements of 2D Arrays in Java
Output:
Example 12: Methods to Print Array String Two Dimensional Array in Java
Output:
Example 13: Methods to Print 2D Array using array.deepToString()
Output:
Example 14: Methods to Print 2D Array in Java using loops
Output:
Documentation: