The java.lang.System class provides access to system-level capabilities such as array copying and virtual machine shutdown. This chapter introduces you to seven capabilities.
System is an example of a utility class because all of its methods and fields are declared static.
Array Copying
Chapter 5 introduced you to arrays. You learned that arrays have fixed sizes and also learned that to resize an array, you have to create a new array of the desired size, then copy the elements from the current array to the new array, and finally ...