Posted by: dekchidriver February 5, 2009
java -assignment help!!!!!!!!!!!
Login in to Rate this Post:     0       ?        
HAHAHA stomach hurts from reading this on mystic boy's java blog:

Two ints and a float are in a bar. They spot an attractive double on her own.
The first int walks up to her. “Hey, baby”, he says, “my VM or yours”. She slaps him and he walks back dejected.
The second int walks over. “Hey, cute-stuff, can I lick your Bean?”. After a quick slapping, he too walks back.
The float then ambles over casually. “Were those two primitive types bothering you?”, he remarks.
“Yes. I’m so glad you’re here”, she says. “They just had no Class!”

-----------------------------------------------------------------------------------------

if u got this joke, welcome to the geek world ;)


regarding the problem. I'm new to java but here' what I think would be a condensed version of his program. Java gurus, please correct me if im wrong :)

public class ArrayFill {
public static void main(String args[]) {
int [] myarray = new int[20];
for(int i=0;i myarray[i]=(int)(Math.random()*10);
}
System.out.println(myarray);
}
}
Read Full Discussion Thread for this article