
-----------------------------------
Paul
Wed Dec 10, 2003 11:31 pm

My first java program...
-----------------------------------
Tonight, I suddenly got this wild idea I wanted to learn JAVA, so I dug out my dad's old text, heres my first JAVA program... I know its lame... and I made 27 mistakes on my first try, I think thats a record. But Im learning JAVA yay! :D

-----------------------------------
xtreemboarder
Tue Dec 27, 2005 1:09 pm


-----------------------------------
lol... post the .java file not the .class... leet programmer my left nut  :lol:

-----------------------------------
[Gandalf]
Tue Dec 27, 2005 4:11 pm


-----------------------------------
Errr... "Posted: Thu Dec 11, 2003 12:31 am"...  Yeah...

And if I'm not mistaken, you can easily just execute the Java bytecode.

-----------------------------------
md
Tue Dec 27, 2005 4:12 pm


-----------------------------------
lol... post the .java file not the .class... leet programmer my left nut  :lol:
Notice that he has 1900+ posts compared to your 9? And that he said he was just learning java? Need I also point out your thread about getting a program to "write the code for you"? Think before you speak, or don't and look like an ass... your choice.

-----------------------------------
Stork
Mon Feb 27, 2006 4:23 pm


-----------------------------------
By the way Cornflake you shouldn't compare Strings with the equals operator :P

-----------------------------------
Andy
Mon Feb 27, 2006 5:02 pm


-----------------------------------
that's in c++.. it works fine.. also, the new java 1.50 allows that comparision if im not mistaken

-----------------------------------
MysticVegeta
Mon Feb 27, 2006 6:37 pm


-----------------------------------
By the way Cornflake you shouldn't compare Strings with the equals operator :P

Should I also point out that Cornflake posted this 3 months ago.

-----------------------------------
Stork
Mon Feb 27, 2006 7:02 pm


-----------------------------------
that's in c++.. it works fine.. also, the new java 1.50 allows that comparision if im not mistaken
Whoops. I presumed it was in java since this is the java forum. Sorry. But I don't think 1.5.0 allows that comparisons.. maybe I'm mistaken.

-----------------------------------
[Gandalf]
Mon Feb 27, 2006 7:44 pm


-----------------------------------
Why would it matter that this is the Java forum?  That's his 'signature', it shows up at the bottom of all his posts, no matter the forum.

Also, you are mistaken.  Out of doubt myself, I checked, and you can use the equals operator on Strings now.

-----------------------------------
md
Mon Feb 27, 2006 7:47 pm


-----------------------------------
*sigh* since syntax highlighting is working again maybe I'll change it back... though it seems it isn't helping to get people to think. IT'S A 3 MONTH OLD POST YOU TWIT!

end of line.

-----------------------------------
Andy
Tue Feb 28, 2006 8:46 am


-----------------------------------
yea.. when i told my compsci prof, he didnt even believe me.. oh wells

-----------------------------------
wtd
Tue Feb 28, 2006 12:15 pm


-----------------------------------
All versions of Java will let you write: 

"hello" == "hello"

However, they are doing a referential comparison of the two String objects, which anyone with even a mediocre understanding of Java should immediately understand.

-----------------------------------
Stork
Tue Feb 28, 2006 5:59 pm


-----------------------------------
That's what I thought. String.equals(String) compares char-by-char, iirc.

-----------------------------------
Andy
Wed Mar 01, 2006 8:38 pm


-----------------------------------
? we just told you you were wrong..
