Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Java. transporting massive from class to class

bobbobbobbob aaaMember Posts: 1
edited October 2016 in Java

public class PiestukuRinkinys {
public static void main ( String[] args) {

String m [] = { "mel", "rau", "zal", 'gelt", "juo" }; ++this is a first class. It has a masive. I want this massive first and second element to transport to other class.

}
}

public class Sandelys {
public static void main ( String[] args) {

    ++here i want to transfer masive elements ( "mel" and "rau" ) Also I want these elements to be shown in console.

}
}

Sign In or Register to comment.