The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 (Not So) Stupid Questions 7: >>, >>>, <<, and ?: operators
Subject:  Operators
Date:  2006-01-17 04:36:58
From:  diegonaya


Hi!. The ? operator is a one line conditional, it's like an if statement.
The << and >> operators are for bit shifting.
For more information, check http://java.sun.com/docs/books/tutorial/java/nutsandbolts/bitwise.html

 Feed java.net RSS Feeds