Results 1 to 3 of 3
- 07-16-2012, 04:28 PM #1
Member
- Join Date
- Jul 2012
- Posts
- 8
- Rep Power
- 0
!word
ok so i have this bit of code
while (!word.equals("*"))
and not sure what the ! in front of the word is. i know != is not equal to so this is a tad confusing to me. word has previously been declared as:
string word = "";
I'm meant to figure out what the issue with the rest of the code is so i just need to understand this phrase.
- 07-16-2012, 04:36 PM #2
Student
- Join Date
- Jul 2012
- Location
- United States
- Posts
- 328
- Rep Power
- 1
Re: !word
You can find an explanation here: Assignment, Arithmetic, and Unary Operators (The Java™ Tutorials > Learning the Java Language > Language Basics)
"Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill
- 07-16-2012, 04:36 PM #3
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,604
- Rep Power
- 5
Re: !word
See Summary of Operators (The Java™ Tutorials > Learning the Java Language > Language Basics)
To quote: "inverts the value of a boolean"
Edit: Too slow again
Similar Threads
-
Find a text in a file and write a word following this word
By lemontree45 in forum New To JavaReplies: 3Last Post: 08-30-2011, 04:44 PM -
WORD Translation HELP PLZ :(
By sammypants in forum New To JavaReplies: 2Last Post: 11-24-2009, 01:46 PM -
Word
By right2001 in forum New To JavaReplies: 2Last Post: 04-07-2009, 03:25 AM -
Word OLE
By Java Tip in forum SWTReplies: 0Last Post: 07-25-2008, 02:33 PM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks