How does java write a method to make every element in an array * 2
This article mainly shows you "java how to write a method of each element in the array * 2", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "java how to write a method of each element in the array * 2" this article.
Write a method that expands each element in the array * 2 / * by two times the original array * @ param array * / public static void enlarge (int [] array) {for (int I = 0; I)