I only have one question, how can I pass the values of a class type arrangement to another completely different class type arrangement, when I pass the data the program tells me they are not suitable, what do I have to do to be able to pass the values from one class array to another different class array?
public class Person1(){
public void recogerarreglo(Person2[] person2, int cantidad){
Person1[] person1=new Person1[cantidad];
for(int i=0;i<person1.length;i++){
--->person1[i]=person2[i];}
}
}
There I have the defect signaled.