Getting Started with Java
This is a 100% free course, but we need you to first join or login to watch this video.Alright, join or login here.
This video shows you an example of arrays in Java. You will learn how to create an array, how to copy an array using references where modifying one will affect the other. How to copy the actual values of an array using the System.arraycopy() method or Arrays.copyOf() method. Finally, we implement all the concepts we learnt in Arrays to find the smallest, largest, sum and average of a bunch of numbers stored inside an array.