Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use arraylist from one class into another class + add data in Java

Status
Not open for further replies.

Xsi

Programmer
May 29, 2015
121
SE
Hello everyone,

I am very new to Java

what I need to do is like below:

Public Class1
that is an arrayclass that holds multi arrays + lists is my thought.

Public Class2

here is where I fill the arrayclass from Class1 with arraydata.

Public Class3

here is where I use the array class1 that reiceved the data in class2


How do I make this?

basically passing arraylist with data to another class

Thank you in advance


Regards
 
Javascript is not Java. They are 2 very different programming languages. If you are actually using Java, the forum for it is here: forum269

----------------------------------
Phil AKA Vacunita
----------------------------------
OS-ception: Running Linux on a Virtual Machine in Windows which itself is running in a Virtual Machine on Mac OSx.

Web & Tech
 
I know I didn't found java...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top