Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Send variables across classes: Java

Name: Anonymous 2013-07-26 9:06

I'm trying to store variables generated in one class to an array in another class.

i.e (pseudo code):


Class example
{
  x = 2+2;
}

Class stuff
{
  array[0] = example.x;
}


why doesn't this work.

Name: Anonymous 2013-07-26 10:17

/prog/, I never really got why you would want to use get and set methods. Is there any purpose in creating tons of cookie cutter methods?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List