What trick does Java use to avoid spaces in >> ?
Posted
by kunjaan
on Stack Overflow
See other posts from Stack Overflow
or by kunjaan
Published on 2010-05-11T05:38:15Z
Indexed on
2010/05/11
5:44 UTC
Read the original article
Hit count: 177
In the Java Generic Book, while contrasting the difference between C++ Templates and Java Generic says:
In C++, a problem arises because >> without the space denotes the right-shift operator. Java fixes the problem by a trick in the grammar.)
What is this trick?
© Stack Overflow or respective owner