I have some exisitng code that is assigning a String reference with the along the lines of the following assignment,
String a1 =+1+- - + - - + + 1+"";
which is undoubtedly not a nice way to code ......... but very surprisingly it compiles and runs fine!!!
If any one can please point out the reason why java compiler allows this without a warning even in eclipse 3.5.0 on java 1.5 will be grateful for the reply.
Thanks and regards,