Java数组 Java Cube Root Java堆栈跟踪到字符串 Java数组 public class Sample { public static void main(String args[]){ int[] myArray = {55, 45, 69, 44}; int num = 55; for(int i=0; i<myArray.length; i++){ if(num == myArray[i]){ System.out.println("Array contains the given element"); } } } } Java Cube Root Java堆栈跟踪到字符串