Thread
:
Easy question
View Single Post
#
2
(
permalink
)
08-03-2007, 11:36 PM
levent
Senior Member
Join Date: Dec 2006
Posts: 748
Quote:
if (textline = "William") System.out.println("xxxxxx");
There should be two equals sign there to compare the result.
More than that, for comparing strings, you should use equals method of String class!
levent
View Public Profile
Send a private message to levent
Find all posts by levent