Thread
:
problem with using string in if condition
View Single Post
#
2
(
permalink
)
11-20-2007, 10:54 PM
hardwired
Senior Member
Join Date: Jul 2007
Posts: 1,146
Is there any mistake in my code
Code:
while(check=="yes"); // Better to test for String equality with
equals
while(check.equals("yes"));
hardwired
View Public Profile
Send a private message to hardwired
Find all posts by hardwired