Author
operators
ajit a
Greenhorn
Joined: Apr 17, 2002
Posts: 7
posted May 03, 2002 09:01:00
0
hi all .. how to resolve questions like int a = 6; b = 7,c; c = a++ + ++b; thx in advance ... @jit
Corey McGlone
Ranch Hand
Joined: Dec 20, 2001
Posts: 3271
Just evaluate the operands from left to right, like this: You can do a search in this forum and find lots of examples like this. Corey
SCJP Tipline, etc.
Rob Ross
Bartender
Joined: Jan 07, 2002
Posts: 2205
ajit a: Welcome to JavaRanch. Please change your name to comply with the naming policy to which you agreed when you registered here..
For your publicly displayed name, use a first name, a space, and a last name.
You can change your name here: here You can also find the naming policy here: http://www.javaranch.com/name.jsp Thank You!
Rob
SCJP 1.4
subject: operators