Discuss Please help with passing to a new class in the Java Help forum on Dev Shed. Please help with passing to a new class Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics.
Time spent in forums: 3 h 53 m 33 sec
Reputation Power: 0
Please help with passing to a new class
I have no knowledge of passing to and from a class to another class so if anyone can please help me.
I have to enter integers in a Java class with a GUI and then sort the integers in a different class in the same package. So far I have been able to sort it in the same class but need to only sort it in a different class and then pass the sorted array back to be displayed in the main class.
This is my working code so far: