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

Pages: 1-

java initialised values

Name: bob the builder 2011-10-01 11:19



int[] intArray = new int[10]

what are the values in intArray[]?

myClass[] classArray = new myClass[10]

what are the values in classArray[]?

thx brah

Name: Anonymous 2011-10-01 11:41

Java
GC is shit.

Name: Anonymous 2011-10-01 12:34

>what are the values in intArray[]?
IntFactoryFactory

Name: Anonymous 2011-10-01 12:35

Why don't you try to solve your homework with, you know, experimentation? That's usually what people willing to learn do.

Name: Anonymous 2011-10-01 12:38

what are the values in intArray[]?
0


what are the values in classArray[]?
Null

Name: Anonymous 2011-10-01 12:40

>>5
Oh Anonymous, you card! You should warn him before trying to troll him! After all, everyone knows that arrays are not implicitly initialized for performance reasons in Java.

Name: Anonymous 2011-10-01 13:32

>>6
>performance reasons

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