Похожие чаты

How to pass array of objects from one class to

another??

1 ответов

7 просмотров

you can use constructor or a setter method 1- class another{ public another(Object [] objs){ } } 2- class another{ private Object [] objs; public void setObjects(Object []objs){ this.objs=objs; } }

Похожие вопросы

Карта сайта