I would like to copy this inventory array to another array from another class.
public class File {
Object[][] inventory=new Object[50][2];
//Reading file to the inventory array.
}
public class Stack {
//I want to copy inventory array to here
}
How can I implement this. Lets assume
Aucun commentaire:
Enregistrer un commentaire