File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Programmer Certification (SCJP/OCPJP)
am confusing in operator precednce pls explain me
Joined: Apr 14, 2005
May 24, 2005 02:24:00
Joined: Sep 17, 2004
May 24, 2005 03:00:00
As the precedence of * / % are same they will calculate left to right , that's why 2*3 and 5/4 will be the first operation , then 6%4 and then the sum of all three.
SCWCD 1.4, SCJP 1.4
I agree. Here's the link:
subject: am confusing in operator precednce pls explain me
Diff between Hashcode and equals
Write a getter and setter to each private field
Somebody in office on a saturday
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015