배열에 저장된 파일을 다른 클래스로 보내려면 어떻게해야합니까? 이 코드를 시도했지만 작동하지 않습니다.배열 파일을 다른 클래스로 보내는 방법
public class abc {
....
String [] indexFiles = new String[100];
public abc(){
indexFiles [0]=image1.txt;
indexFiles [1]=image1.txt;
....
draw = new drawing (indexFiles(0)); // I got error in this code
draw = new drawing (indexFiles.get(0)); // I also tried this code but it give me error as well.
}
}
오! 어떻게 내가 그 [...]을 놓칠 수 .... 감사합니다 프랭크 :-) – Jessy