Title: Java Eclipse - Arrays Lesson 1
Duration: 15:10 min
Description:In this video, we start the discussion of arrays. Arrays are collections of elements that have the same type. when we create an array, we specify the number of elements it can contain. We use a for loop to fill the array with elements. In our example. we create int and String arrays using initialization lists. Using the Arrays class functionality we were able to copy the content of one array to another. We also added two new methods that help us print the contents of the int array and the String array to the screen.
Methodology: Good coding standards and object-oriented design.
Technologies: Java, object-oriented programming.
Examples constructed: Created int and String arrays using an initialization list. Added two printArray methods to print the intArray and the strArray. We introduced another intArray and we copied the data from the previous intArray to it.
Key words: Array, Arrays, int, String, copyOf, printf.