配列に格納されたファイルを他のクラスに送るにはどうすればいいですか? 私はこのコードを試しましたが、動作していません。他のクラスに配列ファイルを送る方法
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