What is the meaning of a circumflex in Java? For example:
textArea.setFont(font = font.deriveFont(font.getStyle() ^ Font.BOLD));
Are there other use cases for a circumflex in Java?
It's the bitwise exclusive OR, see http://docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With