posted 19 years ago
I think yo miss understood :
example 1 :
String concatination happens first,I undertand because concatination(which behind the scene yelds to assignment) has higher precendence than comparison, so
output is : "Levan"
example 2
here seems like comparizon happens first and asignment second.
Output is : hello
and if ternary operators have higher precedence than asignment, why output is "levan" in first example? since is type of asignment , right? internaly it means something like
thats what I am asking.
[ February 02, 2006: Message edited by: levani dvalishvili ]
SCJP 1.5(Done) SCJA 1.0(Done)<br />SCWCD(in Progress...)