This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Is it frowned upon to use this operator for variable assignment? I've been looking through my 4b code, and have noticed several if/else statements that I use solely for the purpose of setting a String, and thought I could reduce the code a bit by using ?: instead of the whole if/else statement. While it compacts the code, I'm not sure if it is viewed as being less readable. Thanks! Jason [This message has been edited by jason adam (edited June 01, 2001).]